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.001703/0.001703, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.00202/0.00202, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.631/1.631, allocations: 177.1 MB / 203.9 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.085/3.085, allocations: 359 MB / 0.6048 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 2.104e-06/2.104e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.049e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00491/0.00495, allocations: 2.318 MB / 0.7887 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2197/0.2247, allocations: 132.7 MB / 0.9183 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.225, allocations: 3.938 kB / 0.9183 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.2255, allocations: 87.39 kB / 0.9184 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009822/0.2265, allocations: 258.3 kB / 0.9186 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.2284, allocations: 0.6501 MB / 0.9193 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.2291, allocations: 450.4 kB / 0.9197 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2292, allocations: 28.92 kB / 0.9197 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.2296, allocations: 251.5 kB / 0.92 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.23, allocations: 175.6 kB / 0.9201 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.2301, allocations: 32 kB / 0.9202 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.2314, allocations: 0.5964 MB / 0.9207 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.2315, allocations: 79.72 kB / 0.9208 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.2317, allocations: 119.7 kB / 0.9209 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.2331, allocations: 0.7476 MB / 0.9217 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2331, allocations: 4 kB / 0.9217 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2331, allocations: 0 / 0.9217 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.2331, allocations: 4 kB / 0.9217 GB, free: 1.871 MB / 0.8698 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.001965/0.2351, allocations: 0.6898 MB / 0.9223 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2351, allocations: 12.03 kB / 0.9224 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.237, allocations: 200.5 kB / 0.9225 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.2377, allocations: 261.8 kB / 0.9228 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.2378, allocations: 49.59 kB / 0.9228 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.2379, allocations: 27.98 kB / 0.9229 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.2385, allocations: 233.8 kB / 0.9231 GB, free: 332 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.2385, allocations: 3.984 kB / 0.9231 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2385, allocations: 4 kB / 0.9231 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2386, allocations: 4 kB / 0.9231 GB, free: 320 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.2389, allocations: 149.8 kB / 0.9232 GB, free: 164 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.2417, allocations: 0.8481 MB / 0.9241 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.2426, allocations: 188.1 kB / 0.9243 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.243, allocations: 110.5 kB / 0.9244 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.2431, allocations: 11.94 kB / 0.9244 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.2436, allocations: 212.8 kB / 0.9246 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.2436, allocations: 0 / 0.9246 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.004896/0.2485, allocations: 0.8813 MB / 0.9254 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.2486, allocations: 85.09 kB / 0.9255 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.249, allocations: 320.4 kB / 0.9258 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.2491, allocations: 33.7 kB / 0.9259 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2493, allocations: 160.9 kB / 0.926 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.2494, allocations: 59.48 kB / 0.9261 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.2496, allocations: 89.88 kB / 0.9261 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.2498, allocations: 338.8 kB / 0.9265 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.2502, allocations: 166.2 kB / 0.9266 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.2508, allocations: 361.8 kB / 0.927 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.2515, allocations: 340.7 kB / 0.9273 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2515, allocations: 0 / 0.9273 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004233/0.2558, allocations: 0.9296 MB / 0.9282 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.2558, allocations: 37.69 kB / 0.9282 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2558, allocations: 0 / 0.9282 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.2572, allocations: 237.7 kB / 0.9285 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.2575, allocations: 43.91 kB / 0.9285 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.2611, allocations: 2.221 MB / 0.9307 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.2617, allocations: 43.77 kB / 0.9307 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.2617, allocations: 24.03 kB / 0.9307 GB, free: 8.07 MB / 0.8855 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.0003293/0.2621, allocations: 196.2 kB / 0.9309 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2622, allocations: 31.81 kB / 0.931 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.2622, allocations: 26.25 kB / 0.931 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2622, allocations: 4 kB / 0.931 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2622, allocations: 0 / 0.931 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2622, allocations: 0 / 0.931 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.2664, allocations: 0.9982 MB / 0.932 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2664, allocations: 0 / 0.932 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.2665, allocations: 4 kB / 0.932 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005281/0.267, allocations: 108.8 kB / 0.9321 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.2671, allocations: 15.97 kB / 0.9321 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.2683, allocations: 0.7499 MB / 0.9328 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2683, allocations: 3.938 kB / 0.9328 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.272, allocations: 0.9518 MB / 0.9338 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.2722, allocations: 59.8 kB / 0.9338 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.2723, allocations: 7.938 kB / 0.9338 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.2726, allocations: 15.92 kB / 0.9338 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.2727, allocations: 16.05 kB / 0.9338 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.2727, allocations: 15.97 kB / 0.9339 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003725/0.2731, allocations: 219.1 kB / 0.9341 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.2731, allocations: 4 kB / 0.9341 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006398/0.2737, allocations: 123.9 kB / 0.9342 GB, free: 4.398 MB / 0.8855 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.0005081/0.2742, allocations: 191 kB / 0.9344 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.2761, allocations: 0.5918 MB / 0.935 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.2761, allocations: 0 / 0.935 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008708/0.277, allocations: 262.9 kB / 0.9352 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.2775, allocations: 68.61 kB / 0.9353 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2792, allocations: 0.6175 MB / 0.9359 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2794, allocations: 147.1 kB / 0.936 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.2796, allocations: 29.94 kB / 0.936 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.2797, allocations: 24.48 kB / 0.9361 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/0.2797, allocations: 0 / 0.9361 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of Templates: time 0.01808/0.2977, allocations: 7.724 MB / 0.9436 GB, free: 10.74 MB / 0.9011 GB " [Timeout remaining time 300] 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: 9.223466619034298]