Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001877/0.001877, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00235/0.00235, allocations: 161.7 kB / 23.55 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.67/1.67, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8108 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.679e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004795/0.004832, allocations: 2.315 MB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2219/0.2267, allocations: 132.7 MB / 0.9427 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.227, allocations: 4 kB / 0.9427 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.2276, allocations: 95.33 kB / 0.9428 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.2286, allocations: 250.3 kB / 0.943 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.2307, allocations: 0.6618 MB / 0.9437 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.2314, allocations: 446.3 kB / 0.9441 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2316, allocations: 32.91 kB / 0.9441 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.232, allocations: 251.5 kB / 0.9444 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.2324, allocations: 171.6 kB / 0.9446 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.2325, allocations: 28 kB / 0.9446 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.234, allocations: 0.6041 MB / 0.9452 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.2341, allocations: 83.72 kB / 0.9452 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.2343, allocations: 115.7 kB / 0.9454 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2356, allocations: 0.7477 MB / 0.9461 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2356, allocations: 0 / 0.9461 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2356, allocations: 0 / 0.9461 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.2357, allocations: 0 / 0.9461 GB, free: 7.074 MB / 0.9011 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.001855/0.2375, allocations: 0.6898 MB / 0.9468 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2376, allocations: 8.031 kB / 0.9468 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.2396, allocations: 216.3 kB / 0.947 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.2402, allocations: 257.8 kB / 0.9472 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.2403, allocations: 57.58 kB / 0.9473 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.2404, allocations: 23.94 kB / 0.9473 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.2409, allocations: 237.8 kB / 0.9475 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2409, allocations: 0 / 0.9475 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.241, allocations: 8 kB / 0.9475 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.241, allocations: 0 / 0.9475 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.2413, allocations: 149.8 kB / 0.9477 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.2441, allocations: 0.852 MB / 0.9485 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.2449, allocations: 180.2 kB / 0.9487 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.2452, allocations: 118.5 kB / 0.9488 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2452, allocations: 7.938 kB / 0.9488 GB, free: 4.133 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.2457, allocations: 230.6 kB / 0.949 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.2457, allocations: 0 / 0.949 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.005071/0.2508, allocations: 0.8679 MB / 0.9499 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.2508, allocations: 85.11 kB / 0.95 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.2513, allocations: 316.4 kB / 0.9503 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.2514, allocations: 29.7 kB / 0.9503 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2516, allocations: 160.9 kB / 0.9504 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.2516, allocations: 67.45 kB / 0.9505 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2518, allocations: 77.94 kB / 0.9506 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.252, allocations: 338.8 kB / 0.9509 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2524, allocations: 178.2 kB / 0.9511 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.253, allocations: 349.9 kB / 0.9514 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.2538, allocations: 354 kB / 0.9517 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2538, allocations: 0 / 0.9517 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004223/0.258, allocations: 0.9171 MB / 0.9526 GB, free: 4 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.2581, allocations: 41.69 kB / 0.9527 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2581, allocations: 64 / 0.9527 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.2595, allocations: 245.6 kB / 0.9529 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.2598, allocations: 39.91 kB / 0.9529 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.2635, allocations: 2.219 MB / 0.9551 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.2639, allocations: 39.77 kB / 0.9552 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.264, allocations: 19.98 kB / 0.9552 GB, free: 13.26 MB / 0.9167 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.0003297/0.2643, allocations: 197 kB / 0.9554 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2644, allocations: 39.81 kB / 0.9554 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.2645, allocations: 26.25 kB / 0.9554 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2645, allocations: 192 / 0.9554 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2645, allocations: 0 / 0.9554 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2645, allocations: 3.984 kB / 0.9554 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.2682, allocations: 0.99 MB / 0.9564 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2682, allocations: 0 / 0.9564 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.2683, allocations: 11.98 kB / 0.9564 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.2687, allocations: 108.8 kB / 0.9565 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.2687, allocations: 7.984 kB / 0.9565 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.27, allocations: 0.7461 MB / 0.9572 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.27, allocations: 3.938 kB / 0.9572 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.2737, allocations: 0.96 MB / 0.9582 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.2739, allocations: 67.72 kB / 0.9582 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.2739, allocations: 4 kB / 0.9583 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.2742, allocations: 23.98 kB / 0.9583 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.2743, allocations: 11.92 kB / 0.9583 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.2743, allocations: 11.98 kB / 0.9583 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003352/0.2747, allocations: 219.1 kB / 0.9585 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2747, allocations: 0 / 0.9585 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005976/0.2753, allocations: 115.9 kB / 0.9586 GB, free: 9.602 MB / 0.9167 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.0004827/0.2757, allocations: 200.3 kB / 0.9588 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.2776, allocations: 0.5936 MB / 0.9594 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2776, allocations: 0 / 0.9594 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.2785, allocations: 257.7 kB / 0.9596 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.279, allocations: 64.53 kB / 0.9597 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2807, allocations: 0.6196 MB / 0.9603 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2809, allocations: 159 kB / 0.9605 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.2811, allocations: 25.94 kB / 0.9605 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.2811, allocations: 20.5 kB / 0.9605 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/0.2811, allocations: 4 kB / 0.9605 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of Templates: time 0.01713/0.2983, allocations: 7.73 MB / 0.968 GB, free: 15.93 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.14701777510345]