Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00118/0.00118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001522/0.001522, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8505/0.8505, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.266e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002312/0.002325, allocations: 2.302 MB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5536/0.5559, allocations: 132.7 MB / 1.132 GB, free: 240 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.556, allocations: 5.531 kB / 1.132 GB, free: 240 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.5564, allocations: 86.42 kB / 1.132 GB, free: 204 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.5569, allocations: 256.9 kB / 1.132 GB, free: 60 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.558, allocations: 0.6677 MB / 1.133 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.5584, allocations: 448.4 kB / 1.133 GB, free: 15.53 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.5585, allocations: 31.44 kB / 1.133 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.5587, allocations: 258.8 kB / 1.133 GB, free: 15.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.559, allocations: 170.9 kB / 1.133 GB, free: 15.37 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.5591, allocations: 29.41 kB / 1.133 GB, free: 15.37 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.5598, allocations: 0.606 MB / 1.134 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.5599, allocations: 78.78 kB / 1.134 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.56, allocations: 116.8 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.5608, allocations: 0.7441 MB / 1.135 GB, free: 14.83 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5608, allocations: 0.9688 kB / 1.135 GB, free: 14.83 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5608, allocations: 0 / 1.135 GB, free: 14.83 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5608, allocations: 4 kB / 1.135 GB, free: 14.82 MB / 1.01 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.001009/0.5618, allocations: 0.6939 MB / 1.136 GB, free: 14.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5618, allocations: 10.03 kB / 1.136 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.5619, allocations: 46.75 kB / 1.136 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.5628, allocations: 195.6 kB / 1.136 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.5631, allocations: 251.5 kB / 1.136 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.5632, allocations: 54.45 kB / 1.136 GB, free: 14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.5632, allocations: 22.47 kB / 1.136 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.5635, allocations: 237.1 kB / 1.136 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5635, allocations: 0 / 1.136 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.5636, allocations: 6.141 kB / 1.136 GB, free: 13.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5636, allocations: 2.781 kB / 1.136 GB, free: 13.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.5637, allocations: 151.1 kB / 1.137 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.5651, allocations: 0.8921 MB / 1.137 GB, free: 13.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5655, allocations: 182.1 kB / 1.138 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.5656, allocations: 115 kB / 1.138 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5656, allocations: 2.547 kB / 1.138 GB, free: 13.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.5659, allocations: 216 kB / 1.138 GB, free: 12.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.5659, allocations: 4 kB / 1.138 GB, free: 12.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.002215/0.5681, allocations: 0.8824 MB / 1.139 GB, free: 12.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.5682, allocations: 84.78 kB / 1.139 GB, free: 12.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.5684, allocations: 337.3 kB / 1.139 GB, free: 12.32 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.5685, allocations: 36.45 kB / 1.139 GB, free: 12.29 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.5686, allocations: 158.3 kB / 1.139 GB, free: 12.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.5686, allocations: 55.16 kB / 1.139 GB, free: 12.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5687, allocations: 88.73 kB / 1.14 GB, free: 12.06 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.5688, allocations: 339.4 kB / 1.14 GB, free: 11.73 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.5691, allocations: 169 kB / 1.14 GB, free: 11.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.5694, allocations: 360.8 kB / 1.14 GB, free: 11.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.5698, allocations: 356.5 kB / 1.141 GB, free: 11.17 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5698, allocations: 3.938 kB / 1.141 GB, free: 11.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001964/0.5717, allocations: 0.9075 MB / 1.142 GB, free: 10.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.5718, allocations: 39.59 kB / 1.142 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5718, allocations: 1.156 kB / 1.142 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.5723, allocations: 195.5 kB / 1.142 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5724, allocations: 47.45 kB / 1.142 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.5743, allocations: 2.224 MB / 1.144 GB, free: 8.723 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5745, allocations: 44.98 kB / 1.144 GB, free: 8.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.5746, allocations: 22.03 kB / 1.144 GB, free: 8.695 MB / 1.01 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.0001694/0.5747, allocations: 196.3 kB / 1.144 GB, free: 8.523 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.5748, allocations: 30.98 kB / 1.144 GB, free: 8.508 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.5748, allocations: 28.83 kB / 1.144 GB, free: 8.496 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5748, allocations: 4.703 kB / 1.144 GB, free: 8.492 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.5748, allocations: 0 / 1.144 GB, free: 8.492 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5748, allocations: 4.5 kB / 1.144 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.5766, allocations: 1.014 MB / 1.145 GB, free: 7.973 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5766, allocations: 6 kB / 1.145 GB, free: 7.969 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.5766, allocations: 9.922 kB / 1.145 GB, free: 7.965 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.5768, allocations: 118.2 kB / 1.145 GB, free: 7.922 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.5769, allocations: 10.34 kB / 1.145 GB, free: 7.918 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005271/0.5774, allocations: 0.7436 MB / 1.146 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5774, allocations: 0 / 1.146 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5791, allocations: 0.9429 MB / 1.147 GB, free: 6.852 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.5792, allocations: 66.31 kB / 1.147 GB, free: 6.812 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5792, allocations: 9.188 kB / 1.147 GB, free: 6.809 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5793, allocations: 10.64 kB / 1.147 GB, free: 6.809 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.5794, allocations: 13.33 kB / 1.147 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.5794, allocations: 13.34 kB / 1.147 GB, free: 6.801 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001892/0.5796, allocations: 238.2 kB / 1.147 GB, free: 6.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5796, allocations: 1.312 kB / 1.147 GB, free: 6.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003333/0.5799, allocations: 114.6 kB / 1.148 GB, free: 6.664 MB / 1.01 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.001086/0.581, allocations: 1.311 MB / 1.149 GB, free: 5.707 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008844/0.5819, allocations: 0.5918 MB / 1.149 GB, free: 5.352 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5819, allocations: 192 / 1.149 GB, free: 5.352 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.5823, allocations: 260.1 kB / 1.15 GB, free: 5.199 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5826, allocations: 68.62 kB / 1.15 GB, free: 5.172 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.5891, allocations: 4.518 MB / 1.154 GB, free: 2.723 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.5892, allocations: 154.8 kB / 1.154 GB, free: 2.637 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.282e-05/0.5893, allocations: 27.3 kB / 1.154 GB, free: 2.633 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.5894, allocations: 85.28 kB / 1.154 GB, free: 2.57 MB / 1.01 GB Notification: Performance of SimCode: time 5.11e-07/0.5894, allocations: 0 / 1.154 GB, free: 2.57 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.6176, allocations: 11.71 MB / 1.166 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.606, allocations: 9.156 kB / 1.166 GB, free: 0.7148 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --stepSize=0.96 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.631820094771683]