Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001764/0.001764, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",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.002158/0.002158, allocations: 66.98 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004037/0.3667, allocations: 2.293 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5385, allocations: 132.7 MB / 1.414 GB, free: 4.902 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.5387, allocations: 4 kB / 1.414 GB, free: 4.898 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.539, allocations: 83.45 kB / 1.415 GB, free: 4.816 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0007659/0.5398, allocations: 246.6 kB / 1.415 GB, free: 4.574 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.5416, allocations: 0.6616 MB / 1.415 GB, free: 3.918 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.5421, allocations: 438.6 kB / 1.416 GB, free: 3.488 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.5422, allocations: 36.42 kB / 1.416 GB, free: 3.461 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.5425, allocations: 187.4 kB / 1.416 GB, free: 3.277 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.5428, allocations: 187.3 kB / 1.416 GB, free: 3.094 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.5429, allocations: 32 kB / 1.416 GB, free: 3.062 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.5442, allocations: 0.6004 MB / 1.417 GB, free: 2.461 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.5443, allocations: 83.72 kB / 1.417 GB, free: 2.379 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5444, allocations: 143.4 kB / 1.417 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5455, allocations: 0.6598 MB / 1.418 GB, free: 1.578 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5455, allocations: 4 kB / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5455, allocations: 0 / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5455, allocations: 0 / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001597/0.5471, allocations: 0.6953 MB / 1.418 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5471, allocations: 12.03 kB / 1.418 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.5472, allocations: 50.73 kB / 1.418 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.5491, allocations: 192.5 kB / 1.419 GB, free: 0.582 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.5496, allocations: 261.5 kB / 1.419 GB, free: 308 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.5497, allocations: 45.7 kB / 1.419 GB, free: 256 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.5498, allocations: 16 kB / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.5502, allocations: 247 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.5503, allocations: 4 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.5503, allocations: 11.92 kB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5503, allocations: 3.984 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.5506, allocations: 153.8 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.5532, allocations: 0.9058 MB / 1.42 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.5541, allocations: 180.2 kB / 1.42 GB, free: 14.65 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.5543, allocations: 118.5 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.5543, allocations: 4 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.5548, allocations: 218.6 kB / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.916e-06/0.5548, allocations: 0 / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004553/0.5593, allocations: 0.8637 MB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.5594, allocations: 89.09 kB / 1.422 GB, free: 13.29 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.5599, allocations: 340.4 kB / 1.422 GB, free: 12.94 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.5599, allocations: 33.7 kB / 1.422 GB, free: 12.9 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.5601, allocations: 152.6 kB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.5602, allocations: 59.53 kB / 1.422 GB, free: 12.69 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.5603, allocations: 81.94 kB / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5605, allocations: 342.8 kB / 1.423 GB, free: 12.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.5609, allocations: 174.2 kB / 1.423 GB, free: 12.08 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.5614, allocations: 353.9 kB / 1.423 GB, free: 11.69 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.5621, allocations: 344.6 kB / 1.423 GB, free: 11.33 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5621, allocations: 4 kB / 1.423 GB, free: 11.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003902/0.566, allocations: 0.9025 MB / 1.424 GB, free: 10.4 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.5661, allocations: 41.69 kB / 1.424 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5661, allocations: 0 / 1.424 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/0.5671, allocations: 197.6 kB / 1.425 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.5673, allocations: 47.84 kB / 1.425 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.5704, allocations: 2.24 MB / 1.427 GB, free: 7.723 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.5709, allocations: 43.77 kB / 1.427 GB, free: 7.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.571, allocations: 19.98 kB / 1.427 GB, free: 7.66 MB / 1.123 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.5712, allocations: 187.5 kB / 1.427 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.5713, allocations: 35.95 kB / 1.427 GB, free: 7.426 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.5713, allocations: 31.11 kB / 1.427 GB, free: 7.395 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5713, allocations: 7.984 kB / 1.427 GB, free: 7.387 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5713, allocations: 3.938 kB / 1.427 GB, free: 7.383 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5714, allocations: 0 / 1.427 GB, free: 7.383 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.5748, allocations: 1.013 MB / 1.428 GB, free: 6.305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5748, allocations: 0 / 1.428 GB, free: 6.305 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.5748, allocations: 16 kB / 1.428 GB, free: 6.289 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.5752, allocations: 112.8 kB / 1.428 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.5752, allocations: 11.94 kB / 1.428 GB, free: 6.164 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009723/0.5762, allocations: 0.7471 MB / 1.429 GB, free: 5.395 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5762, allocations: 4 kB / 1.429 GB, free: 5.391 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.5796, allocations: 0.9483 MB / 1.43 GB, free: 4.406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5797, allocations: 55.8 kB / 1.43 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.5798, allocations: 4.062 kB / 1.43 GB, free: 4.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.5801, allocations: 15.98 kB / 1.43 GB, free: 4.332 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.5801, allocations: 7.984 kB / 1.43 GB, free: 4.324 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.5802, allocations: 19.98 kB / 1.43 GB, free: 4.305 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003244/0.5805, allocations: 235 kB / 1.43 GB, free: 4.074 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5805, allocations: 0 / 1.43 GB, free: 4.074 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000574/0.5811, allocations: 123.8 kB / 1.43 GB, free: 3.953 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/0.5829, allocations: 1.288 MB / 1.432 GB, free: 2.613 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.5845, allocations: 0.604 MB / 1.432 GB, free: 1.969 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5845, allocations: 0 / 1.432 GB, free: 1.969 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.5853, allocations: 255.7 kB / 1.432 GB, free: 1.699 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.5858, allocations: 64.42 kB / 1.432 GB, free: 1.637 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5979, allocations: 4.54 MB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.5981, allocations: 151.1 kB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.5982, allocations: 30.28 kB / 1.437 GB, free: 12.76 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.5984, allocations: 91.39 kB / 1.437 GB, free: 12.67 MB / 1.139 GB Notification: Performance of SimCode: time 1.393e-06/0.5984, allocations: 0 / 1.437 GB, free: 12.67 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0459/0.6443, allocations: 11.61 MB / 1.448 GB, free: 1.289 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.57, allocations: 13.38 kB / 1.449 GB, free: 1.281 MB / 1.139 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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: 20.155678076669574]