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.001447/0.001447, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.001608/0.001608, allocations: 213.6 kB / 22.99 MB, free: 4.988 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002109/0.002109, allocations: 64.77 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004254/0.4271, allocations: 2.304 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1871/0.6142, allocations: 132.7 MB / 1.459 GB, free: 9.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.6144, allocations: 7.938 kB / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.6148, allocations: 91.39 kB / 1.459 GB, free: 9.332 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.6155, allocations: 234.6 kB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.6173, allocations: 0.6715 MB / 1.46 GB, free: 8.438 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.618, allocations: 438.5 kB / 1.46 GB, free: 8.008 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.6181, allocations: 28.92 kB / 1.46 GB, free: 7.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.6184, allocations: 187.5 kB / 1.461 GB, free: 7.797 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.6187, allocations: 211.2 kB / 1.461 GB, free: 7.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.6188, allocations: 32 kB / 1.461 GB, free: 7.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.62, allocations: 0.6122 MB / 1.461 GB, free: 6.945 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.6202, allocations: 83.72 kB / 1.461 GB, free: 6.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.6203, allocations: 139.4 kB / 1.462 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.6214, allocations: 0.6696 MB / 1.462 GB, free: 6.055 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6214, allocations: 0 / 1.462 GB, free: 6.055 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6214, allocations: 3.938 kB / 1.462 GB, free: 6.051 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6214, allocations: 4 kB / 1.462 GB, free: 6.047 MB / 1.154 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.001818/0.6232, allocations: 0.6952 MB / 1.463 GB, free: 5.312 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6233, allocations: 8.031 kB / 1.463 GB, free: 5.305 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.6253, allocations: 188.5 kB / 1.463 GB, free: 5.121 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.626, allocations: 273.6 kB / 1.463 GB, free: 4.824 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.6261, allocations: 45.7 kB / 1.463 GB, free: 4.773 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.6261, allocations: 16 kB / 1.463 GB, free: 4.758 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.6266, allocations: 237.8 kB / 1.464 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6266, allocations: 0 / 1.464 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.6267, allocations: 0 / 1.464 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6267, allocations: 7.938 kB / 1.464 GB, free: 4.496 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.627, allocations: 149.8 kB / 1.464 GB, free: 4.344 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.6297, allocations: 0.852 MB / 1.465 GB, free: 3.453 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.6306, allocations: 180.1 kB / 1.465 GB, free: 3.262 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.6308, allocations: 114.5 kB / 1.465 GB, free: 3.141 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.6308, allocations: 3.984 kB / 1.465 GB, free: 3.137 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.6313, allocations: 226.6 kB / 1.465 GB, free: 2.891 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.6313, allocations: 0 / 1.465 GB, free: 2.891 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.005048/0.6363, allocations: 0.8672 MB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.6364, allocations: 85.09 kB / 1.466 GB, free: 1.895 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.6368, allocations: 320.4 kB / 1.466 GB, free: 1.574 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.6369, allocations: 37.69 kB / 1.466 GB, free: 1.531 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.637, allocations: 153 kB / 1.467 GB, free: 1.379 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.6371, allocations: 59.47 kB / 1.467 GB, free: 1.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.6373, allocations: 89.94 kB / 1.467 GB, free: 1.223 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6375, allocations: 342.8 kB / 1.467 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.6378, allocations: 170.2 kB / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.6384, allocations: 357.8 kB / 1.468 GB, free: 320 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.6391, allocations: 353 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6391, allocations: 0 / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004329/0.6434, allocations: 0.9055 MB / 1.469 GB, free: 15.01 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.6435, allocations: 41.62 kB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6435, allocations: 0 / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.6445, allocations: 189.6 kB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.6448, allocations: 47.91 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.6481, allocations: 2.205 MB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.6486, allocations: 55.77 kB / 1.471 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.6487, allocations: 19.92 kB / 1.471 GB, free: 12.32 MB / 1.17 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.0002915/0.649, allocations: 188.2 kB / 1.471 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.649, allocations: 35.8 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.6491, allocations: 22.27 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6491, allocations: 0 / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6491, allocations: 0 / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.6491, allocations: 3.984 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.6529, allocations: 0.9901 MB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6529, allocations: 0 / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.6529, allocations: 8 kB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.6533, allocations: 112.8 kB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.6533, allocations: 8 kB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.6544, allocations: 0.7576 MB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6544, allocations: 0 / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.6582, allocations: 0.9565 MB / 1.474 GB, free: 9.113 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.6583, allocations: 55.73 kB / 1.474 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.6584, allocations: 8 kB / 1.474 GB, free: 9.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.6587, allocations: 15.98 kB / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.6588, allocations: 7.984 kB / 1.474 GB, free: 9.027 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.6588, allocations: 7.984 kB / 1.474 GB, free: 9.02 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003307/0.6591, allocations: 227.1 kB / 1.475 GB, free: 8.801 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6591, allocations: 4 kB / 1.475 GB, free: 8.797 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006313/0.6597, allocations: 115.8 kB / 1.475 GB, free: 8.684 MB / 1.17 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.0004359/0.6602, allocations: 195.3 kB / 1.475 GB, free: 8.484 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.662, allocations: 0.5958 MB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.662, allocations: 3.938 kB / 1.475 GB, free: 7.844 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008427/0.6628, allocations: 258.5 kB / 1.476 GB, free: 7.57 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.6633, allocations: 58.52 kB / 1.476 GB, free: 7.516 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.665, allocations: 0.6527 MB / 1.476 GB, free: 6.828 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.6652, allocations: 155 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.6653, allocations: 21.95 kB / 1.477 GB, free: 6.637 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.6654, allocations: 23.42 kB / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of SimCode: time 6.92e-07/0.6654, allocations: 0 / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of Templates: time 0.0153/0.6807, allocations: 8.07 MB / 1.484 GB, free: 14.63 MB / 1.186 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/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: 10.05428025200672]