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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00101/0.00101, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001426/0.001426, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.988/2.988, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8806, allocations: 153.8 MB / 1.022 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002834/0.8835, allocations: 2.028 MB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1928/1.076, allocations: 137.1 MB / 1.158 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/1.077, allocations: 0 / 1.158 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004238/1.077, allocations: 79.61 kB / 1.158 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009284/1.078, allocations: 210.9 kB / 1.159 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/1.08, allocations: 0.5143 MB / 1.159 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007693/1.081, allocations: 374.6 kB / 1.159 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/1.081, allocations: 44.7 kB / 1.159 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/1.082, allocations: 167.4 kB / 1.16 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/1.082, allocations: 175.4 kB / 1.16 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/1.082, allocations: 16 kB / 1.16 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/1.084, allocations: 0.4992 MB / 1.16 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/1.084, allocations: 67.72 kB / 1.16 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/1.084, allocations: 77.58 kB / 1.16 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008696/1.085, allocations: 462.8 kB / 1.161 GB, free: 2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.085, allocations: 0 / 1.161 GB, free: 2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.967e-06/1.085, allocations: 4 kB / 1.161 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.322e-05/1.085, allocations: 0 / 1.161 GB, free: 1.996 MB / 0.9044 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.001663/1.086, allocations: 0.6909 MB / 1.162 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.086, allocations: 12.56 kB / 1.162 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.088, allocations: 155.5 kB / 1.162 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/1.089, allocations: 302.4 kB / 1.162 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/1.089, allocations: 45.7 kB / 1.162 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/1.089, allocations: 20 kB / 1.162 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/1.089, allocations: 208.1 kB / 1.162 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.089, allocations: 3.938 kB / 1.162 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/1.089, allocations: 4 kB / 1.162 GB, free: 464 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.089, allocations: 4 kB / 1.162 GB, free: 460 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/1.09, allocations: 116.1 kB / 1.162 GB, free: 344 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/1.092, allocations: 1.008 MB / 1.163 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/1.093, allocations: 166.4 kB / 1.164 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.093, allocations: 96.83 kB / 1.164 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/1.093, allocations: 0 / 1.164 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/1.094, allocations: 193.1 kB / 1.164 GB, free: 14.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/1.094, allocations: 0 / 1.164 GB, free: 14.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004021/1.098, allocations: 0.8806 MB / 1.165 GB, free: 13.88 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/1.098, allocations: 81.11 kB / 1.165 GB, free: 13.78 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/1.098, allocations: 344.4 kB / 1.165 GB, free: 13.44 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/1.098, allocations: 33.7 kB / 1.165 GB, free: 13.4 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/1.099, allocations: 152.6 kB / 1.165 GB, free: 13.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/1.099, allocations: 55.2 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.099, allocations: 4 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.099, allocations: 342.8 kB / 1.166 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.099, allocations: 140.5 kB / 1.166 GB, free: 12.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/1.1, allocations: 213.4 kB / 1.166 GB, free: 12.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/1.1, allocations: 190.9 kB / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.1, allocations: 0 / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003385/1.104, allocations: 0.8681 MB / 1.167 GB, free: 11.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/1.104, allocations: 33.7 kB / 1.167 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.104, allocations: 0 / 1.167 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009387/1.105, allocations: 205.5 kB / 1.167 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.105, allocations: 35.92 kB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/1.108, allocations: 2.258 MB / 1.169 GB, free: 8.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/1.109, allocations: 39.67 kB / 1.17 GB, free: 8.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/1.109, allocations: 19.98 kB / 1.17 GB, free: 8.648 MB / 0.92 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/1.109, allocations: 197.2 kB / 1.17 GB, free: 8.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/1.109, allocations: 31.62 kB / 1.17 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/1.109, allocations: 31.17 kB / 1.17 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.109, allocations: 3.953 kB / 1.17 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.109, allocations: 4 kB / 1.17 GB, free: 8.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.109, allocations: 0 / 1.17 GB, free: 8.375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.113, allocations: 1.045 MB / 1.171 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.113, allocations: 4 kB / 1.171 GB, free: 7.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/1.113, allocations: 7.938 kB / 1.171 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/1.113, allocations: 112.8 kB / 1.171 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/1.113, allocations: 7.984 kB / 1.171 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008412/1.114, allocations: 0.7692 MB / 1.172 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.114, allocations: 0 / 1.172 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/1.117, allocations: 0.8805 MB / 1.173 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/1.117, allocations: 140.6 kB / 1.173 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/1.117, allocations: 4 kB / 1.173 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/1.117, allocations: 20.05 kB / 1.173 GB, free: 5.254 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.117, allocations: 11.98 kB / 1.173 GB, free: 5.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/1.117, allocations: 11.98 kB / 1.173 GB, free: 5.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003688/1.118, allocations: 231 kB / 1.173 GB, free: 5.004 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.51e-07/1.118, allocations: 0 / 1.173 GB, free: 5.004 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007204/1.119, allocations: 116 kB / 1.173 GB, free: 4.891 MB / 0.92 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004652/1.119, allocations: 183.9 kB / 1.173 GB, free: 4.703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.121, allocations: 0.569 MB / 1.174 GB, free: 4.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.121, allocations: 0 / 1.174 GB, free: 4.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/1.121, allocations: 248.1 kB / 1.174 GB, free: 3.848 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/1.122, allocations: 66.36 kB / 1.174 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.124, allocations: 0.6936 MB / 1.175 GB, free: 3.062 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.124, allocations: 0.7638 MB / 1.176 GB, free: 2.273 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001927/1.124, allocations: 26.3 kB / 1.176 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/1.124, allocations: 23.42 kB / 1.176 GB, free: 2.23 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.124, allocations: 0 / 1.176 GB, free: 2.23 MB / 0.92 GB Notification: Performance of Templates: time 0.01355/1.138, allocations: 6.622 MB / 1.182 GB, free: 11.68 MB / 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