Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 193.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.71 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.91 kB / 0.8687 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.893, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003886/0.8969, allocations: 2.451 MB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1731/1.07, allocations: 148.8 MB / 1.164 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/1.07, allocations: 4 kB / 1.164 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/1.071, allocations: 79.61 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008193/1.072, allocations: 210.9 kB / 1.165 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/1.073, allocations: 0.6074 MB / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005318/1.074, allocations: 438.6 kB / 1.166 GB, free: 9.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/1.074, allocations: 52.64 kB / 1.166 GB, free: 9.547 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/1.074, allocations: 183.4 kB / 1.166 GB, free: 9.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/1.075, allocations: 199.3 kB / 1.166 GB, free: 9.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/1.075, allocations: 28 kB / 1.166 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/1.076, allocations: 0.6512 MB / 1.167 GB, free: 8.492 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.076, allocations: 83.72 kB / 1.167 GB, free: 8.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/1.076, allocations: 163.2 kB / 1.167 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009637/1.077, allocations: 0.6661 MB / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.077, allocations: 0 / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.077, allocations: 4 kB / 1.168 GB, free: 7.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.116e-06/1.077, allocations: 0 / 1.168 GB, free: 7.578 MB / 0.92 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.001779/1.079, allocations: 0.7416 MB / 1.168 GB, free: 6.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.079, allocations: 8.031 kB / 1.168 GB, free: 6.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/1.081, allocations: 160.4 kB / 1.169 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/1.081, allocations: 314.7 kB / 1.169 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/1.081, allocations: 49.7 kB / 1.169 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/1.082, allocations: 23.94 kB / 1.169 GB, free: 6.191 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/1.082, allocations: 212.1 kB / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.082, allocations: 0 / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/1.082, allocations: 4 kB / 1.169 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.082, allocations: 4 kB / 1.169 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/1.082, allocations: 120.2 kB / 1.169 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/1.085, allocations: 0.9886 MB / 1.17 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/1.086, allocations: 170.4 kB / 1.17 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/1.086, allocations: 100.8 kB / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/1.086, allocations: 0 / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/1.086, allocations: 189.1 kB / 1.171 GB, free: 4.316 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 4.398e-06/1.086, allocations: 7.922 kB / 1.171 GB, free: 4.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004341/1.091, allocations: 0.8609 MB / 1.172 GB, free: 3.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.091, allocations: 85.09 kB / 1.172 GB, free: 3.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/1.091, allocations: 340.4 kB / 1.172 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/1.091, allocations: 37.7 kB / 1.172 GB, free: 2.926 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.091, allocations: 144.7 kB / 1.172 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.092, allocations: 63.17 kB / 1.172 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.092, allocations: 89.84 kB / 1.172 GB, free: 2.625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.092, allocations: 342.8 kB / 1.173 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/1.092, allocations: 136.5 kB / 1.173 GB, free: 2.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/1.093, allocations: 221.3 kB / 1.173 GB, free: 1.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/1.093, allocations: 340.9 kB / 1.173 GB, free: 1.559 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.093, allocations: 0 / 1.173 GB, free: 1.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003792/1.097, allocations: 0.8521 MB / 1.174 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/1.097, allocations: 37.7 kB / 1.174 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.097, allocations: 4 kB / 1.174 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/1.098, allocations: 197.6 kB / 1.174 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.098, allocations: 35.92 kB / 1.174 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/1.102, allocations: 2.358 MB / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/1.103, allocations: 43.61 kB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/1.103, allocations: 19.97 kB / 1.177 GB, free: 13.82 MB / 0.9356 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.0003236/1.103, allocations: 184 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/1.103, allocations: 31.62 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/1.103, allocations: 31.17 kB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.103, allocations: 3.938 kB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.103, allocations: 0 / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.103, allocations: 3.938 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/1.107, allocations: 1.049 MB / 1.178 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.107, allocations: 0 / 1.178 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/1.107, allocations: 4 kB / 1.178 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/1.107, allocations: 116.8 kB / 1.178 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/1.107, allocations: 15.92 kB / 1.178 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009297/1.108, allocations: 0.742 MB / 1.179 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.108, allocations: 0 / 1.179 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/1.111, allocations: 0.8815 MB / 1.18 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.111, allocations: 136.6 kB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/1.112, allocations: 8 kB / 1.18 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.112, allocations: 8 kB / 1.18 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/1.112, allocations: 15.97 kB / 1.18 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.112, allocations: 8 kB / 1.18 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003172/1.112, allocations: 239.1 kB / 1.18 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 0 / 1.18 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005916/1.113, allocations: 116 kB / 1.18 GB, free: 10.09 MB / 0.9356 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.0003915/1.113, allocations: 192.9 kB / 1.18 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.115, allocations: 0.5652 MB / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.115, allocations: 0 / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007561/1.116, allocations: 248.1 kB / 1.181 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/1.116, allocations: 77 kB / 1.181 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.118, allocations: 0.6752 MB / 1.182 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.118, allocations: 0.7677 MB / 1.183 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001746/1.118, allocations: 26.3 kB / 1.183 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/1.118, allocations: 23.42 kB / 1.183 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of SimCode: time 4.4e-07/1.118, allocations: 0 / 1.183 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.01268/1.131, allocations: 7.161 MB / 1.19 GB, free: 352 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches