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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 188 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.03 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.985/2.985, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB " [Timeout remaining time 176] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 76.11 kB / 1.11 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.169, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004801/1.173, allocations: 2.425 MB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.2229/1.396, allocations: 151.5 MB / 1.425 GB, free: 9.699 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/1.397, allocations: 7.938 kB / 1.425 GB, free: 9.691 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/1.397, allocations: 99.36 kB / 1.425 GB, free: 9.594 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/1.398, allocations: 246.5 kB / 1.425 GB, free: 9.352 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/1.401, allocations: 0.6631 MB / 1.426 GB, free: 8.695 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008197/1.402, allocations: 434.6 kB / 1.426 GB, free: 8.27 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/1.402, allocations: 32.92 kB / 1.426 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/1.402, allocations: 183.4 kB / 1.426 GB, free: 8.062 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/1.403, allocations: 215.3 kB / 1.426 GB, free: 7.852 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/1.403, allocations: 28 kB / 1.426 GB, free: 7.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.404, allocations: 0.6472 MB / 1.427 GB, free: 7.176 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/1.405, allocations: 83.72 kB / 1.427 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/1.405, allocations: 163.2 kB / 1.427 GB, free: 6.934 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/1.406, allocations: 0.6565 MB / 1.428 GB, free: 6.281 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.406, allocations: 0 / 1.428 GB, free: 6.281 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.864e-06/1.406, allocations: 0 / 1.428 GB, free: 6.281 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.406, allocations: 0 / 1.428 GB, free: 6.281 MB / 1.123 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.001918/1.408, allocations: 0.7014 MB / 1.429 GB, free: 5.539 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/1.408, allocations: 8.031 kB / 1.429 GB, free: 5.531 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.41, allocations: 168.5 kB / 1.429 GB, free: 5.367 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/1.41, allocations: 253.8 kB / 1.429 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.112e-05/1.41, allocations: 45.69 kB / 1.429 GB, free: 5.043 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/1.41, allocations: 27.95 kB / 1.429 GB, free: 5.016 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/1.411, allocations: 212.1 kB / 1.429 GB, free: 4.793 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.411, allocations: 3.984 kB / 1.429 GB, free: 4.789 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/1.411, allocations: 4 kB / 1.429 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/1.411, allocations: 0 / 1.429 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/1.411, allocations: 116.2 kB / 1.429 GB, free: 4.672 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/1.414, allocations: 0.9682 MB / 1.43 GB, free: 3.652 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/1.415, allocations: 150.4 kB / 1.431 GB, free: 3.496 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/1.415, allocations: 84.83 kB / 1.431 GB, free: 3.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/1.415, allocations: 7.984 kB / 1.431 GB, free: 3.402 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/1.416, allocations: 191.4 kB / 1.431 GB, free: 3.199 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/1.416, allocations: 3.938 kB / 1.431 GB, free: 3.195 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.00448/1.42, allocations: 0.7913 MB / 1.432 GB, free: 2.391 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.42, allocations: 85.09 kB / 1.432 GB, free: 2.289 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/1.421, allocations: 340.4 kB / 1.432 GB, free: 1.945 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/1.421, allocations: 29.7 kB / 1.432 GB, free: 1.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/1.421, allocations: 156.7 kB / 1.432 GB, free: 1.754 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/1.421, allocations: 63.45 kB / 1.432 GB, free: 1.691 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.421, allocations: 89.89 kB / 1.432 GB, free: 1.594 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.421, allocations: 342.8 kB / 1.433 GB, free: 1.25 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.422, allocations: 136.5 kB / 1.433 GB, free: 1.117 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/1.422, allocations: 229.3 kB / 1.433 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/1.423, allocations: 333 kB / 1.433 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.423, allocations: 4 kB / 1.433 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003745/1.427, allocations: 0.8531 MB / 1.434 GB, free: 15.65 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/1.427, allocations: 33.7 kB / 1.434 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.427, allocations: 0 / 1.434 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009893/1.428, allocations: 201.7 kB / 1.434 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/1.428, allocations: 35.92 kB / 1.434 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/1.431, allocations: 2.242 MB / 1.437 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/1.432, allocations: 47.66 kB / 1.437 GB, free: 12.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/1.432, allocations: 23.97 kB / 1.437 GB, free: 12.92 MB / 1.139 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.000357/1.432, allocations: 191 kB / 1.437 GB, free: 12.72 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/1.432, allocations: 35.8 kB / 1.437 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/1.432, allocations: 31.11 kB / 1.437 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.432, allocations: 7.938 kB / 1.437 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.432, allocations: 0 / 1.437 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.432, allocations: 3.938 kB / 1.437 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/1.436, allocations: 1.009 MB / 1.438 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.436, allocations: 0 / 1.438 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/1.436, allocations: 8 kB / 1.438 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/1.436, allocations: 108.8 kB / 1.438 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.436, allocations: 11.94 kB / 1.438 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.437, allocations: 0.7462 MB / 1.439 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.437, allocations: 0 / 1.439 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/1.441, allocations: 0.8799 MB / 1.44 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.441, allocations: 63.69 kB / 1.44 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/1.441, allocations: 4 kB / 1.44 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/1.441, allocations: 20.05 kB / 1.44 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/1.441, allocations: 11.97 kB / 1.44 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/1.441, allocations: 8 kB / 1.44 GB, free: 9.664 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003902/1.442, allocations: 235 kB / 1.44 GB, free: 9.434 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 3.938 kB / 1.44 GB, free: 9.43 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006337/1.442, allocations: 119.9 kB / 1.44 GB, free: 9.312 MB / 1.139 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.0005411/1.443, allocations: 179 kB / 1.44 GB, free: 9.125 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.445, allocations: 0.5182 MB / 1.441 GB, free: 8.578 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.445, allocations: 0 / 1.441 GB, free: 8.578 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/1.446, allocations: 232.1 kB / 1.441 GB, free: 8.336 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/1.446, allocations: 67.02 kB / 1.441 GB, free: 8.27 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/1.448, allocations: 0.6092 MB / 1.442 GB, free: 7.641 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/1.448, allocations: 0.7638 MB / 1.442 GB, free: 6.852 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001793/1.449, allocations: 34.27 kB / 1.442 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/1.449, allocations: 23.42 kB / 1.442 GB, free: 6.801 MB / 1.139 GB Notification: Performance of SimCode: time 1.212e-06/1.449, allocations: 0 / 1.442 GB, free: 6.801 MB / 1.139 GB Notification: Performance of Templates: time 0.01809/1.467, allocations: 7.404 MB / 1.45 GB, free: 15.46 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.550878168083727]