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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001385/0.001385, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001508/0.001508, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.78 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2389, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004128/0.2431, allocations: 2.404 MB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6109/0.854, allocations: 150.9 MB / 1.101 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.8542, allocations: 1.75 kB / 1.101 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.8546, allocations: 101.9 kB / 1.101 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.8554, allocations: 231 kB / 1.101 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.8571, allocations: 0.6517 MB / 1.102 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.8577, allocations: 440.3 kB / 1.102 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8578, allocations: 51.88 kB / 1.102 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.8581, allocations: 177.1 kB / 1.102 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.8584, allocations: 202.8 kB / 1.103 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.8585, allocations: 29.62 kB / 1.103 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.8598, allocations: 0.6258 MB / 1.103 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.86, allocations: 83.73 kB / 1.103 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.8602, allocations: 162.1 kB / 1.104 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.8612, allocations: 0.6579 MB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8612, allocations: 0 / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8612, allocations: 1.031 kB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.8612, allocations: 0 / 1.104 GB, free: 5.266 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.001696/0.8629, allocations: 0.7402 MB / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.863, allocations: 10.23 kB / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.8646, allocations: 160.1 kB / 1.105 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.8652, allocations: 314.6 kB / 1.105 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.8652, allocations: 45.09 kB / 1.105 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.8653, allocations: 21.12 kB / 1.105 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.8658, allocations: 214 kB / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8658, allocations: 0 / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.8658, allocations: 6.062 kB / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.8659, allocations: 6.938 kB / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.8662, allocations: 121.8 kB / 1.106 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.8688, allocations: 0.9909 MB / 1.107 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.8696, allocations: 164.7 kB / 1.107 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.8698, allocations: 99.59 kB / 1.107 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.8699, allocations: 3.984 kB / 1.107 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.8703, allocations: 194.4 kB / 1.107 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.8703, allocations: 0 / 1.107 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.004189/0.8745, allocations: 0.8571 MB / 1.108 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.8746, allocations: 84.03 kB / 1.108 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.8751, allocations: 342.6 kB / 1.108 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.8752, allocations: 36.59 kB / 1.108 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.8753, allocations: 151.6 kB / 1.109 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.8753, allocations: 50.31 kB / 1.109 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.8756, allocations: 89.41 kB / 1.109 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8757, allocations: 346.2 kB / 1.109 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.8761, allocations: 140.1 kB / 1.109 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.8765, allocations: 217.6 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.8771, allocations: 340.6 kB / 1.11 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8771, allocations: 0.5625 kB / 1.11 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003615/0.8808, allocations: 0.8634 MB / 1.111 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.8808, allocations: 37.52 kB / 1.111 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8808, allocations: 1.219 kB / 1.111 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009082/0.8818, allocations: 200.1 kB / 1.111 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.882, allocations: 48.38 kB / 1.111 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.885, allocations: 2.339 MB / 1.113 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.8855, allocations: 43.86 kB / 1.113 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.8856, allocations: 21.02 kB / 1.113 GB, free: 16.55 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.0002549/0.8858, allocations: 182.4 kB / 1.113 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.8859, allocations: 31.31 kB / 1.113 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.886, allocations: 32.92 kB / 1.113 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.886, allocations: 4.719 kB / 1.113 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.886, allocations: 3.938 kB / 1.113 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.886, allocations: 2.141 kB / 1.113 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.8894, allocations: 1.039 MB / 1.114 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8894, allocations: 4.5 kB / 1.114 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.8895, allocations: 8.688 kB / 1.114 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/0.8898, allocations: 114 kB / 1.115 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.8898, allocations: 15 kB / 1.115 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/0.8908, allocations: 0.7459 MB / 1.115 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8908, allocations: 0 / 1.115 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.8941, allocations: 0.8687 MB / 1.116 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.8943, allocations: 135.9 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.8944, allocations: 9.938 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.8947, allocations: 10.72 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.8947, allocations: 11.73 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.8948, allocations: 11.05 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003361/0.8951, allocations: 244 kB / 1.117 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8951, allocations: 0 / 1.117 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006174/0.8958, allocations: 111.9 kB / 1.117 GB, free: 14.98 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.0003993/0.8962, allocations: 185.9 kB / 1.117 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.8978, allocations: 0.5706 MB / 1.117 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8978, allocations: 1.094 kB / 1.117 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.8986, allocations: 255.7 kB / 1.118 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.8991, allocations: 67.34 kB / 1.118 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.9004, allocations: 0.6097 MB / 1.118 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.9008, allocations: 0.7621 MB / 1.119 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000168/0.9009, allocations: 30.05 kB / 1.119 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.901, allocations: 21.34 kB / 1.119 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.901, allocations: 5.094 kB / 1.119 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.01327/0.9143, allocations: 7.214 MB / 1.126 GB, free: 13.09 MB / 0.8731 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 -s gbode -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/jenkins1/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