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.005334/0.005334, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001243/0.001243, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.22/2.22, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7705, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003185/0.7737, allocations: 2.402 MB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.9441, allocations: 150.9 MB / 1.238 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.9444, allocations: 6.875 kB / 1.238 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.9448, allocations: 93.95 kB / 1.238 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007742/0.9456, allocations: 239.5 kB / 1.238 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.9473, allocations: 0.6526 MB / 1.239 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.9478, allocations: 441.3 kB / 1.239 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.9479, allocations: 45.36 kB / 1.239 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.9482, allocations: 178 kB / 1.239 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.9486, allocations: 206.8 kB / 1.24 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.9486, allocations: 30.25 kB / 1.24 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.9498, allocations: 0.6298 MB / 1.24 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.95, allocations: 76.89 kB / 1.24 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.9502, allocations: 158.7 kB / 1.24 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.9512, allocations: 0.6594 MB / 1.241 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9512, allocations: 1.375 kB / 1.241 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9512, allocations: 0 / 1.241 GB, free: 116 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.9512, allocations: 0 / 1.241 GB, free: 116 kB / 0.9669 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.00167/0.9529, allocations: 0.7395 MB / 1.242 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.9529, allocations: 9.844 kB / 1.242 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.9545, allocations: 167.5 kB / 1.242 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.9551, allocations: 312.7 kB / 1.242 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.9552, allocations: 49.84 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.9552, allocations: 17.81 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.9557, allocations: 221 kB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9557, allocations: 0 / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.9557, allocations: 5.188 kB / 1.243 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9557, allocations: 3.562 kB / 1.243 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.956, allocations: 126.8 kB / 1.243 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.9586, allocations: 0.9863 MB / 1.244 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/0.9594, allocations: 158.2 kB / 1.244 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.9596, allocations: 98.78 kB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.9597, allocations: 1.406 kB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.96, allocations: 196.4 kB / 1.244 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 3.276e-06/0.96, allocations: 7.922 kB / 1.244 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004236/0.9643, allocations: 0.8509 MB / 1.245 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.9644, allocations: 85.11 kB / 1.245 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.9648, allocations: 344.3 kB / 1.245 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.9648, allocations: 37.64 kB / 1.245 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.965, allocations: 156.5 kB / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.965, allocations: 55.2 kB / 1.246 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.9652, allocations: 85.94 kB / 1.246 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9653, allocations: 342.8 kB / 1.246 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.9657, allocations: 140.5 kB / 1.246 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.9662, allocations: 217.3 kB / 1.246 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.9668, allocations: 332.7 kB / 1.247 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9668, allocations: 7.938 kB / 1.247 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003804/0.9706, allocations: 0.8606 MB / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.9707, allocations: 33.69 kB / 1.247 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9707, allocations: 7.938 kB / 1.247 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/0.9716, allocations: 201.5 kB / 1.248 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.9719, allocations: 35.97 kB / 1.248 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.9749, allocations: 2.345 MB / 1.25 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.9754, allocations: 39.67 kB / 1.25 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.9754, allocations: 19.98 kB / 1.25 GB, free: 7.281 MB / 0.9825 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.0002489/0.9757, allocations: 193.9 kB / 1.25 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.9758, allocations: 27.72 kB / 1.25 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.9758, allocations: 31.17 kB / 1.25 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9758, allocations: 3.938 kB / 1.25 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.9758, allocations: 0 / 1.25 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9758, allocations: 3.984 kB / 1.25 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.9792, allocations: 1.035 MB / 1.251 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9792, allocations: 0 / 1.251 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.9793, allocations: 11.92 kB / 1.251 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.9796, allocations: 116.9 kB / 1.251 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.9797, allocations: 7.984 kB / 1.251 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009257/0.9806, allocations: 0.7497 MB / 1.252 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9806, allocations: 0 / 1.252 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.9839, allocations: 0.8705 MB / 1.253 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.9841, allocations: 136.6 kB / 1.253 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.9841, allocations: 8 kB / 1.253 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.9844, allocations: 15.98 kB / 1.253 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.9845, allocations: 12.05 kB / 1.253 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.9845, allocations: 15.94 kB / 1.253 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003209/0.9849, allocations: 239 kB / 1.253 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9849, allocations: 0 / 1.253 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005974/0.9855, allocations: 112 kB / 1.254 GB, free: 3.559 MB / 0.9825 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.0003752/0.9859, allocations: 197.5 kB / 1.254 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.9875, allocations: 0.5693 MB / 1.254 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9875, allocations: 0 / 1.254 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/0.9883, allocations: 259.9 kB / 1.255 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.9888, allocations: 65 kB / 1.255 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.9902, allocations: 0.6095 MB / 1.255 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.9906, allocations: 0.7637 MB / 1.256 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.9907, allocations: 30.3 kB / 1.256 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.9908, allocations: 27.36 kB / 1.256 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.9908, allocations: 0 / 1.256 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of Templates: time 0.01246/1.003, allocations: 7.243 MB / 1.263 GB, free: 9.781 MB / 0.9981 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