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.001208/0.001208, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009713/0.009713, allocations: 170 kB / 16.27 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.309 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.395/2.395, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6453, allocations: 142.4 MB / 0.9551 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002147/0.6475, allocations: 2.101 MB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.8011, allocations: 147.1 MB / 1.101 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.8014, allocations: 4 kB / 1.101 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.8018, allocations: 75.61 kB / 1.101 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.8025, allocations: 210.9 kB / 1.101 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.8041, allocations: 0.5894 MB / 1.102 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.8046, allocations: 414.5 kB / 1.102 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.8048, allocations: 44.72 kB / 1.102 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.805, allocations: 155.5 kB / 1.102 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.8053, allocations: 195.3 kB / 1.102 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.8054, allocations: 16 kB / 1.102 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.8066, allocations: 0.6706 MB / 1.103 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.8067, allocations: 67.72 kB / 1.103 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.8069, allocations: 176.9 kB / 1.103 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.8078, allocations: 0.6504 MB / 1.104 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.8078, allocations: 0 / 1.104 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8079, allocations: 0 / 1.104 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8079, allocations: 3.938 kB / 1.104 GB, free: 6.355 MB / 0.8575 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.001502/0.8094, allocations: 0.6794 MB / 1.105 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8094, allocations: 12.03 kB / 1.105 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.8111, allocations: 152.4 kB / 1.105 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.8115, allocations: 318.2 kB / 1.105 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.8116, allocations: 49.69 kB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.8117, allocations: 19.94 kB / 1.105 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.8121, allocations: 208.1 kB / 1.105 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.8122, allocations: 0 / 1.105 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.8122, allocations: 8 kB / 1.105 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8122, allocations: 4 kB / 1.105 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.8125, allocations: 120 kB / 1.105 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.8151, allocations: 0.9963 MB / 1.106 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.8159, allocations: 174.4 kB / 1.107 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.8161, allocations: 96.83 kB / 1.107 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.8161, allocations: 4 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.8165, allocations: 189 kB / 1.107 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.8165, allocations: 0 / 1.107 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004391/0.8209, allocations: 0.8916 MB / 1.108 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.821, allocations: 85.11 kB / 1.108 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.8215, allocations: 336.5 kB / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.8215, allocations: 33.7 kB / 1.108 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.8217, allocations: 156.5 kB / 1.108 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.8218, allocations: 55.2 kB / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.8218, allocations: 45.69 kB / 1.108 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.822, allocations: 338.8 kB / 1.109 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.8223, allocations: 144.5 kB / 1.109 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.8227, allocations: 213.4 kB / 1.109 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.8234, allocations: 341 kB / 1.109 GB, free: 432 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8234, allocations: 0 / 1.109 GB, free: 432 kB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003957/0.8274, allocations: 0.8835 MB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.8274, allocations: 35.17 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.8275, allocations: 8 kB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.8285, allocations: 209.5 kB / 1.111 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.8288, allocations: 39.91 kB / 1.111 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.8321, allocations: 2.235 MB / 1.113 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.8327, allocations: 51.52 kB / 1.113 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.8327, allocations: 23.92 kB / 1.113 GB, free: 12.76 MB / 0.8731 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.000253/0.833, allocations: 186.7 kB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.8331, allocations: 31.62 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.8331, allocations: 27.17 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8331, allocations: 7.938 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8331, allocations: 4 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8331, allocations: 0 / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.8366, allocations: 1.06 MB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8366, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.8367, allocations: 8 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.837, allocations: 108.8 kB / 1.114 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.837, allocations: 11.98 kB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009562/0.838, allocations: 0.7614 MB / 1.115 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.838, allocations: 0 / 1.115 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.8414, allocations: 0.8915 MB / 1.116 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.8415, allocations: 136.6 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.8416, allocations: 4 kB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.8419, allocations: 19.98 kB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.8419, allocations: 7.984 kB / 1.116 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.842, allocations: 7.984 kB / 1.116 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002976/0.8423, allocations: 239 kB / 1.116 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8423, allocations: 4.062 kB / 1.116 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005014/0.8428, allocations: 108 kB / 1.116 GB, free: 9.004 MB / 0.8731 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.0004061/0.8432, allocations: 191.1 kB / 1.117 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.8449, allocations: 0.5612 MB / 1.117 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8449, allocations: 0 / 1.117 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.8457, allocations: 256.1 kB / 1.117 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.8462, allocations: 53 kB / 1.117 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.8476, allocations: 0.7204 MB / 1.118 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.8479, allocations: 0.756 MB / 1.119 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.8481, allocations: 26.3 kB / 1.119 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.8481, allocations: 23.42 kB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.8481, allocations: 3.938 kB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of Templates: time 0.01209/0.8602, allocations: 6.833 MB / 1.126 GB, free: 15.55 MB / 0.8887 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