Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.002191/0.002191, allocations: 107.8 kB / 15.99 MB, free: 6.367 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.00215/0.00215, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 469.4 MB / 0.7423 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.86 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3268, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003806/0.3306, allocations: 2.442 MB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7208/1.051, allocations: 148.8 MB / 1.211 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/1.052, allocations: 2.531 kB / 1.211 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/1.052, allocations: 82.05 kB / 1.211 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000859/1.053, allocations: 217.6 kB / 1.212 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/1.055, allocations: 0.6001 MB / 1.212 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006493/1.056, allocations: 441.6 kB / 1.213 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/1.056, allocations: 46.06 kB / 1.213 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/1.056, allocations: 187.8 kB / 1.213 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/1.057, allocations: 200.4 kB / 1.213 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/1.057, allocations: 29.72 kB / 1.213 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/1.058, allocations: 0.649 MB / 1.214 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/1.058, allocations: 80.02 kB / 1.214 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/1.058, allocations: 166.7 kB / 1.214 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008225/1.059, allocations: 482.5 kB / 1.214 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.059, allocations: 1.312 kB / 1.214 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/1.059, allocations: 3.938 kB / 1.214 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.059, allocations: 0 / 1.214 GB, free: 11.66 MB / 0.9356 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.001974/1.061, allocations: 0.738 MB / 1.215 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.061, allocations: 18.17 kB / 1.215 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.063, allocations: 158.6 kB / 1.215 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/1.064, allocations: 311.6 kB / 1.216 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/1.064, allocations: 50.5 kB / 1.216 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/1.064, allocations: 21.66 kB / 1.216 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/1.064, allocations: 207.7 kB / 1.216 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.064, allocations: 0 / 1.216 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/1.064, allocations: 6.75 kB / 1.216 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.064, allocations: 6.734 kB / 1.216 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/1.065, allocations: 115.4 kB / 1.216 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/1.067, allocations: 0.9895 MB / 1.217 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/1.068, allocations: 163.4 kB / 1.217 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/1.068, allocations: 98 kB / 1.217 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.069, allocations: 1.25 kB / 1.217 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/1.069, allocations: 192.6 kB / 1.217 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 2.063e-06/1.069, allocations: 3.938 kB / 1.217 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.00456/1.074, allocations: 0.8578 MB / 1.218 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/1.074, allocations: 89.17 kB / 1.218 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/1.074, allocations: 342.1 kB / 1.219 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/1.074, allocations: 35.95 kB / 1.219 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.075, allocations: 146 kB / 1.219 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/1.075, allocations: 65.97 kB / 1.219 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.075, allocations: 83.75 kB / 1.219 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.075, allocations: 347 kB / 1.219 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/1.076, allocations: 136.4 kB / 1.219 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/1.076, allocations: 220.4 kB / 1.22 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/1.077, allocations: 345.7 kB / 1.22 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.077, allocations: 3.812 kB / 1.22 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003908/1.081, allocations: 0.858 MB / 1.221 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/1.081, allocations: 36.91 kB / 1.221 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/1.081, allocations: 0 / 1.221 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009511/1.082, allocations: 197.8 kB / 1.221 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/1.082, allocations: 36.28 kB / 1.221 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/1.085, allocations: 2.351 MB / 1.223 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/1.086, allocations: 49.2 kB / 1.223 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/1.086, allocations: 18.64 kB / 1.223 GB, free: 4.523 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.0003114/1.086, allocations: 192.4 kB / 1.224 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/1.086, allocations: 28.69 kB / 1.224 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/1.086, allocations: 27.23 kB / 1.224 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.086, allocations: 2.969 kB / 1.224 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.086, allocations: 0.625 kB / 1.224 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.086, allocations: 7.922 kB / 1.224 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/1.09, allocations: 1.044 MB / 1.225 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.09, allocations: 0 / 1.225 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/1.09, allocations: 8.609 kB / 1.225 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/1.09, allocations: 108.9 kB / 1.225 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.09, allocations: 10.42 kB / 1.225 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009484/1.091, allocations: 0.7472 MB / 1.226 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.091, allocations: 6.938 kB / 1.226 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/1.095, allocations: 0.8792 MB / 1.226 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.095, allocations: 137.9 kB / 1.227 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/1.095, allocations: 8.469 kB / 1.227 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/1.095, allocations: 16.39 kB / 1.227 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.095, allocations: 12.95 kB / 1.227 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.095, allocations: 9 kB / 1.227 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00032/1.096, allocations: 242.9 kB / 1.227 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.096, allocations: 0 / 1.227 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005827/1.096, allocations: 112.1 kB / 1.227 GB, free: 1.902 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.0004116/1.097, allocations: 179.1 kB / 1.227 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001726/1.098, allocations: 0.5703 MB / 1.228 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.098, allocations: 0 / 1.228 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/1.099, allocations: 256.2 kB / 1.228 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/1.1, allocations: 68.92 kB / 1.228 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.101, allocations: 0.7005 MB / 1.229 GB, free: 56 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.102, allocations: 0.7599 MB / 1.229 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/1.102, allocations: 27.36 kB / 1.229 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/1.102, allocations: 3.938 kB / 1.229 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.01067/1.113, allocations: 6.501 MB / 1.236 GB, free: 8.766 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches