Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 214.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 69.28 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.281/0.6226, allocations: 254.2 MB / 1.575 GB, free: 2.867 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.6513, allocations: 22.63 MB / 1.597 GB, free: 12.16 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.6533, allocations: 83.31 kB / 1.597 GB, free: 12.08 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.6566, allocations: 0.9976 MB / 1.598 GB, free: 11.08 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.6613, allocations: 1.535 MB / 1.6 GB, free: 9.539 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.6667, allocations: 2.024 MB / 1.602 GB, free: 7.516 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.004429/0.6712, allocations: 2.698 MB / 1.604 GB, free: 4.801 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.673, allocations: 0.9735 MB / 1.605 GB, free: 3.789 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.6767, allocations: 1.627 MB / 1.607 GB, free: 2.156 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.6784, allocations: 0.9533 MB / 1.608 GB, free: 1.199 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.6785, allocations: 108 kB / 1.608 GB, free: 1.094 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.748/1.427, allocations: 1.836 MB / 1.61 GB, free: 9.121 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0006383/1.427, allocations: 386.1 kB / 1.61 GB, free: 9.121 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.428, allocations: 0.6384 MB / 1.611 GB, free: 9.121 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/1.433, allocations: 2.366 MB / 1.613 GB, free: 9 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.433, allocations: 2.109 kB / 1.613 GB, free: 9 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.084e-06/1.433, allocations: 0 / 1.613 GB, free: 9 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.093e-05/1.433, allocations: 0.5 kB / 1.613 GB, free: 9 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002636/1.436, allocations: 1.44 MB / 1.614 GB, free: 8.266 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.436, allocations: 10.61 kB / 1.614 GB, free: 8.266 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.494e-05/1.436, allocations: 22.56 kB / 1.614 GB, free: 8.266 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/1.436, allocations: 146.1 kB / 1.614 GB, free: 8.227 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/1.438, allocations: 234.1 kB / 1.615 GB, free: 8.156 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/1.44, allocations: 0.8541 MB / 1.615 GB, free: 7.891 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/1.44, allocations: 292 kB / 1.616 GB, free: 7.641 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.44, allocations: 95.64 kB / 1.616 GB, free: 7.641 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/1.442, allocations: 0.929 MB / 1.617 GB, free: 7.508 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/1.442, allocations: 3 kB / 1.617 GB, free: 7.508 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/1.442, allocations: 33.97 kB / 1.617 GB, free: 7.508 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.442, allocations: 24.84 kB / 1.617 GB, free: 7.508 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.444, allocations: 0.6328 MB / 1.617 GB, free: 7.504 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/1.449, allocations: 4.37 MB / 1.622 GB, free: 20.8 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/1.449, allocations: 182 kB / 1.622 GB, free: 20.78 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.45, allocations: 138.6 kB / 1.622 GB, free: 20.77 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/1.45, allocations: 132 kB / 1.622 GB, free: 20.77 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.45, allocations: 41.62 kB / 1.622 GB, free: 20.73 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/1.45, allocations: 0 / 1.622 GB, free: 20.73 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001088/1.451, allocations: 473.5 kB / 1.623 GB, free: 20.63 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.451, allocations: 58.39 kB / 1.623 GB, free: 20.57 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.453, allocations: 1.122 MB / 1.624 GB, free: 20.41 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/1.453, allocations: 33.17 kB / 1.624 GB, free: 20.38 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.453, allocations: 0.5217 MB / 1.624 GB, free: 20.19 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/1.453, allocations: 91.94 kB / 1.624 GB, free: 20.13 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.454, allocations: 94.64 kB / 1.624 GB, free: 20.11 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.454, allocations: 323.5 kB / 1.625 GB, free: 19.81 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/1.454, allocations: 129.6 kB / 1.625 GB, free: 19.81 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/1.455, allocations: 384 kB / 1.625 GB, free: 19.52 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/1.455, allocations: 468.2 kB / 1.626 GB, free: 19.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.455, allocations: 1.781 kB / 1.626 GB, free: 19.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001171/1.456, allocations: 0.5468 MB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.456, allocations: 14.33 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.456, allocations: 6.312 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/1.456, allocations: 11.81 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/1.457, allocations: 89.88 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.457, allocations: 13.86 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/1.458, allocations: 96.8 kB / 1.626 GB, free: 19.16 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/1.458, allocations: 34.05 kB / 1.627 GB, free: 19.16 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005106/1.458, allocations: 281.8 kB / 1.627 GB, free: 19.04 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.459, allocations: 113.5 kB / 1.627 GB, free: 18.98 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00096/1.46, allocations: 424.9 kB / 1.627 GB, free: 18.92 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.46, allocations: 5.594 kB / 1.627 GB, free: 18.92 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.46, allocations: 2.141 kB / 1.627 GB, free: 18.92 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.46, allocations: 1.359 kB / 1.627 GB, free: 18.92 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/1.462, allocations: 1.535 MB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.462, allocations: 8.812 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.463, allocations: 40.97 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.463, allocations: 6.375 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/1.463, allocations: 13.52 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/1.463, allocations: 9.875 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/1.463, allocations: 8.281 kB / 1.629 GB, free: 18.48 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/1.463, allocations: 0.5863 MB / 1.629 GB, free: 18.15 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/1.464, allocations: 166.7 kB / 1.63 GB, free: 18.09 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.464, allocations: 8.781 kB / 1.63 GB, free: 18.09 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/1.464, allocations: 17.12 kB / 1.63 GB, free: 18.09 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/1.464, allocations: 31.58 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/1.464, allocations: 15.08 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001105/1.465, allocations: 0.7851 MB / 1.63 GB, free: 17.97 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.465, allocations: 0.875 kB / 1.63 GB, free: 17.97 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.0011/1.467, allocations: 290.5 kB / 1.631 GB, free: 17.93 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/1.468, allocations: 1.328 MB / 1.632 GB, free: 17.05 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0006513/1.469, allocations: 332.7 kB / 1.632 GB, free: 17.05 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.469, allocations: 2.219 kB / 1.632 GB, free: 17.05 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/1.469, allocations: 142.5 kB / 1.632 GB, free: 17.05 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.471, allocations: 0.5137 MB / 1.633 GB, free: 17.01 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/1.481, allocations: 7.477 MB / 1.64 GB, free: 14.36 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/1.482, allocations: 1.066 MB / 1.641 GB, free: 13.66 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009383/1.483, allocations: 200.8 kB / 1.642 GB, free: 13.64 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/1.483, allocations: 364.3 kB / 1.642 GB, free: 13.63 MB / 1.311 GB Notification: Performance of SimCode: time 7.81e-07/1.483, allocations: 0 / 1.642 GB, free: 13.63 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/1.54, allocations: 28.58 MB / 1.67 GB, free: 11.21 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.17, allocations: 12.31 kB / 1.67 GB, free: 11.2 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.079068908002228]