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.001382/0.001382, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.00143/0.00143, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.621/1.621, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.281/3.281, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 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.002241/0.002241, allocations: 77.8 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4279, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004245/0.4321, allocations: 2.417 MB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2125/0.6446, allocations: 154.3 MB / 1.474 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.6449, allocations: 11.94 kB / 1.474 GB, free: 5.477 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.6453, allocations: 87.45 kB / 1.474 GB, free: 5.391 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.6462, allocations: 238.6 kB / 1.475 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.648, allocations: 0.6729 MB / 1.475 GB, free: 4.488 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.6486, allocations: 438.5 kB / 1.476 GB, free: 4.059 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.6487, allocations: 32.73 kB / 1.476 GB, free: 4.031 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.649, allocations: 183.5 kB / 1.476 GB, free: 3.852 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.6493, allocations: 215.2 kB / 1.476 GB, free: 3.641 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.6494, allocations: 28 kB / 1.476 GB, free: 3.613 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.6508, allocations: 0.6707 MB / 1.477 GB, free: 2.941 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.6509, allocations: 83.72 kB / 1.477 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.6511, allocations: 163.2 kB / 1.477 GB, free: 2.699 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.6522, allocations: 0.6696 MB / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6522, allocations: 0 / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6522, allocations: 0 / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.6522, allocations: 0 / 1.478 GB, free: 2.027 MB / 1.17 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.001698/0.6539, allocations: 0.7602 MB / 1.478 GB, free: 1.211 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.654, allocations: 19.98 kB / 1.478 GB, free: 1.191 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.656, allocations: 180.5 kB / 1.479 GB, free: 1.016 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.6566, allocations: 326.8 kB / 1.479 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.6567, allocations: 49.7 kB / 1.479 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.6568, allocations: 16 kB / 1.479 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.6572, allocations: 208.1 kB / 1.479 GB, free: 376 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6572, allocations: 0 / 1.479 GB, free: 376 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.6573, allocations: 8 kB / 1.479 GB, free: 368 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6573, allocations: 4 kB / 1.479 GB, free: 364 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.6576, allocations: 116.2 kB / 1.479 GB, free: 248 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.6602, allocations: 1 MB / 1.48 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.6611, allocations: 146.5 kB / 1.48 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.6613, allocations: 84.83 kB / 1.481 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.6613, allocations: 0 / 1.481 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.6617, allocations: 193.8 kB / 1.481 GB, free: 14.74 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.6617, allocations: 0 / 1.481 GB, free: 14.74 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.004501/0.6662, allocations: 0.8729 MB / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.6663, allocations: 85.11 kB / 1.482 GB, free: 13.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.6668, allocations: 340.4 kB / 1.482 GB, free: 13.38 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.6669, allocations: 33.7 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.667, allocations: 148.7 kB / 1.482 GB, free: 13.2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.6671, allocations: 67.47 kB / 1.482 GB, free: 13.13 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.6672, allocations: 89.92 kB / 1.482 GB, free: 13.03 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6674, allocations: 346.8 kB / 1.483 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.6678, allocations: 140.5 kB / 1.483 GB, free: 12.55 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.6682, allocations: 221.3 kB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.669, allocations: 333 kB / 1.483 GB, free: 11.96 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.669, allocations: 0 / 1.483 GB, free: 11.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003891/0.6729, allocations: 0.8725 MB / 1.484 GB, free: 11.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.6729, allocations: 41.69 kB / 1.484 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6729, allocations: 4.062 kB / 1.484 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009885/0.6739, allocations: 193.5 kB / 1.484 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.6742, allocations: 35.92 kB / 1.484 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.6778, allocations: 2.35 MB / 1.487 GB, free: 8.273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.6784, allocations: 51.69 kB / 1.487 GB, free: 8.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.6784, allocations: 15.98 kB / 1.487 GB, free: 8.207 MB / 1.186 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.0003274/0.6787, allocations: 194.3 kB / 1.487 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.6788, allocations: 31.77 kB / 1.487 GB, free: 7.973 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.6789, allocations: 27.17 kB / 1.487 GB, free: 7.945 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6789, allocations: 4 kB / 1.487 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.6789, allocations: 0 / 1.487 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6789, allocations: 11.86 kB / 1.487 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.6827, allocations: 1.049 MB / 1.488 GB, free: 6.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6827, allocations: 0 / 1.488 GB, free: 6.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.212e-05/0.6827, allocations: 7.938 kB / 1.488 GB, free: 6.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.6831, allocations: 120.8 kB / 1.488 GB, free: 6.691 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.6832, allocations: 11.92 kB / 1.488 GB, free: 6.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6843, allocations: 0.746 MB / 1.489 GB, free: 5.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6843, allocations: 4 kB / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/0.688, allocations: 0.89 MB / 1.49 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6883, allocations: 128.9 kB / 1.49 GB, free: 4.848 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.6883, allocations: 8 kB / 1.49 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.6886, allocations: 20.05 kB / 1.49 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.6887, allocations: 7.984 kB / 1.49 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.6887, allocations: 12 kB / 1.49 GB, free: 4.801 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003624/0.6891, allocations: 235 kB / 1.49 GB, free: 4.574 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6891, allocations: 0 / 1.49 GB, free: 4.574 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006714/0.6897, allocations: 119.9 kB / 1.49 GB, free: 4.457 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * 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.0004692/0.6902, allocations: 201.2 kB / 1.49 GB, free: 4.254 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.692, allocations: 0.522 MB / 1.491 GB, free: 3.703 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.692, allocations: 4.188 kB / 1.491 GB, free: 3.699 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008341/0.6928, allocations: 224.1 kB / 1.491 GB, free: 3.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.6934, allocations: 72.98 kB / 1.491 GB, free: 3.391 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.6951, allocations: 0.6111 MB / 1.492 GB, free: 2.766 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.6955, allocations: 0.7638 MB / 1.493 GB, free: 1.977 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.6957, allocations: 30.22 kB / 1.493 GB, free: 1.949 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.6958, allocations: 23.42 kB / 1.493 GB, free: 1.926 MB / 1.186 GB Notification: Performance of SimCode: time 1.112e-06/0.6958, allocations: 0 / 1.493 GB, free: 1.926 MB / 1.186 GB Notification: Performance of Templates: time 0.01626/0.7121, allocations: 7.329 MB / 1.5 GB, free: 10.65 MB / 1.201 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 -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: 10.09012001613155]