Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005255/0.005255, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001135/0.001136, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 72.38 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2486, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003788/0.2525, allocations: 2.4 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.4056, allocations: 151 MB / 1.238 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.4058, allocations: 7.938 kB / 1.238 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.4062, allocations: 91.44 kB / 1.238 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.407, allocations: 234.6 kB / 1.238 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4085, allocations: 0.6608 MB / 1.239 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.409, allocations: 446.5 kB / 1.239 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4092, allocations: 44.72 kB / 1.239 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.4094, allocations: 187.4 kB / 1.239 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.4097, allocations: 199.3 kB / 1.24 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.4098, allocations: 32 kB / 1.24 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4109, allocations: 0.6278 MB / 1.24 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.411, allocations: 83.72 kB / 1.24 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.4111, allocations: 167.2 kB / 1.24 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.412, allocations: 0.654 MB / 1.241 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.412, allocations: 0 / 1.241 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.412, allocations: 0 / 1.241 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4121, allocations: 4 kB / 1.241 GB, free: 4.094 MB / 0.9981 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.001489/0.4135, allocations: 0.7448 MB / 1.242 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4136, allocations: 8.031 kB / 1.242 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4152, allocations: 172.2 kB / 1.242 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.4157, allocations: 318.4 kB / 1.242 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.4157, allocations: 45.7 kB / 1.242 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.4158, allocations: 20 kB / 1.242 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.4162, allocations: 213 kB / 1.243 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4162, allocations: 0 / 1.243 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4163, allocations: 8 kB / 1.243 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4163, allocations: 4 kB / 1.243 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.4166, allocations: 125.5 kB / 1.243 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.419, allocations: 0.9849 MB / 1.244 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.4198, allocations: 166.5 kB / 1.244 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.42, allocations: 92.83 kB / 1.244 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.42, allocations: 3.984 kB / 1.244 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.4204, allocations: 192.9 kB / 1.244 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.4204, allocations: 0 / 1.244 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.004135/0.4245, allocations: 0.8649 MB / 1.245 GB, free: 15.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4246, allocations: 77.11 kB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.425, allocations: 352.4 kB / 1.245 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.4251, allocations: 29.7 kB / 1.245 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4252, allocations: 160.6 kB / 1.245 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.4253, allocations: 55.55 kB / 1.246 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.4254, allocations: 85.92 kB / 1.246 GB, free: 15.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4256, allocations: 338.8 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.4259, allocations: 144.5 kB / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.4263, allocations: 213.4 kB / 1.246 GB, free: 14.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.427, allocations: 336.6 kB / 1.247 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.427, allocations: 4 kB / 1.247 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003699/0.4307, allocations: 0.8609 MB / 1.247 GB, free: 13.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.4307, allocations: 41.62 kB / 1.247 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4307, allocations: 7.922 kB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/0.4317, allocations: 201.5 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4319, allocations: 39.97 kB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.4352, allocations: 2.346 MB / 1.25 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.4357, allocations: 43.72 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.4358, allocations: 23.97 kB / 1.25 GB, free: 10.32 MB / 1.014 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.0002504/0.436, allocations: 179.5 kB / 1.25 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.4361, allocations: 31.81 kB / 1.25 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.4362, allocations: 35.17 kB / 1.25 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4362, allocations: 3.938 kB / 1.25 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4362, allocations: 4 kB / 1.25 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4362, allocations: 0 / 1.25 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.4396, allocations: 1.045 MB / 1.251 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4396, allocations: 0 / 1.251 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.4396, allocations: 11.94 kB / 1.251 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.44, allocations: 112.8 kB / 1.251 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.44, allocations: 4 kB / 1.251 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009859/0.441, allocations: 0.7615 MB / 1.252 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.441, allocations: 0 / 1.252 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.4443, allocations: 0.8725 MB / 1.253 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.4445, allocations: 136.9 kB / 1.253 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.4446, allocations: 0 / 1.253 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.4449, allocations: 15.98 kB / 1.253 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.4449, allocations: 11.98 kB / 1.253 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.445, allocations: 11.98 kB / 1.253 GB, free: 6.945 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003039/0.4453, allocations: 243 kB / 1.253 GB, free: 6.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4453, allocations: 0 / 1.253 GB, free: 6.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005656/0.4459, allocations: 123.8 kB / 1.254 GB, free: 6.586 MB / 1.014 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.000415/0.4463, allocations: 185.4 kB / 1.254 GB, free: 6.395 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.4481, allocations: 0.577 MB / 1.254 GB, free: 5.789 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4481, allocations: 0 / 1.254 GB, free: 5.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.4489, allocations: 260.1 kB / 1.255 GB, free: 5.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.4494, allocations: 68.92 kB / 1.255 GB, free: 5.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4509, allocations: 0.6024 MB / 1.255 GB, free: 4.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4513, allocations: 0.7599 MB / 1.256 GB, free: 4.043 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.4515, allocations: 34.22 kB / 1.256 GB, free: 4.012 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.4516, allocations: 19.44 kB / 1.256 GB, free: 3.992 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.4516, allocations: 4 kB / 1.256 GB, free: 3.988 MB / 1.014 GB Notification: Performance of Templates: time 0.5418/0.9934, allocations: 7.232 MB / 1.263 GB, free: 173.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches