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.001665/0.001665, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001886/0.001886, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 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.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.58 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2841, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003522/0.2877, allocations: 2.419 MB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.704/0.9917, allocations: 150.9 MB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.992, allocations: 1.406 kB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.9924, allocations: 95.94 kB / 1.101 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009933/0.9935, allocations: 238 kB / 1.101 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.9955, allocations: 0.6445 MB / 1.102 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.9963, allocations: 436.2 kB / 1.102 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.9964, allocations: 50.91 kB / 1.102 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.9968, allocations: 186 kB / 1.102 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.9972, allocations: 198.4 kB / 1.103 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.9972, allocations: 29.62 kB / 1.103 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.9989, allocations: 0.6303 MB / 1.103 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.9991, allocations: 82.19 kB / 1.103 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.9993, allocations: 165 kB / 1.104 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1, allocations: 0.6557 MB / 1.104 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1, allocations: 0 / 1.104 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/1, allocations: 0.7188 kB / 1.104 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.205e-06/1, allocations: 0.7969 kB / 1.104 GB, free: 5.703 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.001734/1.002, allocations: 0.7368 MB / 1.105 GB, free: 21.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.002, allocations: 9.312 kB / 1.105 GB, free: 21.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/1.004, allocations: 161.5 kB / 1.105 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/1.004, allocations: 316.2 kB / 1.105 GB, free: 20.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/1.005, allocations: 51.11 kB / 1.105 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/1.005, allocations: 16.47 kB / 1.105 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/1.005, allocations: 211.9 kB / 1.106 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.005, allocations: 0.5625 kB / 1.106 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/1.005, allocations: 6.562 kB / 1.106 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.005, allocations: 3.344 kB / 1.106 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/1.005, allocations: 119.6 kB / 1.106 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/1.008, allocations: 0.9923 MB / 1.107 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/1.009, allocations: 163.9 kB / 1.107 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/1.009, allocations: 96.89 kB / 1.107 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.009, allocations: 1.688 kB / 1.107 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/1.01, allocations: 197.7 kB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/1.01, allocations: 1.203 kB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.004342/1.014, allocations: 0.8706 MB / 1.108 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/1.014, allocations: 84.84 kB / 1.108 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/1.015, allocations: 339.1 kB / 1.108 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/1.015, allocations: 32.03 kB / 1.108 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/1.015, allocations: 147.8 kB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/1.015, allocations: 53.53 kB / 1.109 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.015, allocations: 88.73 kB / 1.109 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.015, allocations: 350.1 kB / 1.109 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/1.016, allocations: 137.6 kB / 1.109 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/1.016, allocations: 218.4 kB / 1.109 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/1.017, allocations: 336.2 kB / 1.11 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.017, allocations: 1.125 kB / 1.11 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003858/1.021, allocations: 0.8623 MB / 1.111 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/1.021, allocations: 42.78 kB / 1.111 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.021, allocations: 1.312 kB / 1.111 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/1.022, allocations: 202.4 kB / 1.111 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.022, allocations: 42.7 kB / 1.111 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/1.025, allocations: 2.339 MB / 1.113 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/1.026, allocations: 40.62 kB / 1.113 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/1.026, allocations: 22.02 kB / 1.113 GB, free: 16.99 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.0003168/1.026, allocations: 193.4 kB / 1.113 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/1.026, allocations: 31 kB / 1.113 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/1.026, allocations: 28.44 kB / 1.113 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.026, allocations: 5.266 kB / 1.113 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.026, allocations: 3.938 kB / 1.113 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.026, allocations: 1.922 kB / 1.113 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.03, allocations: 1.037 MB / 1.114 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.03, allocations: 3.469 kB / 1.114 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/1.03, allocations: 9.766 kB / 1.114 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/1.03, allocations: 109.7 kB / 1.115 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/1.03, allocations: 14.39 kB / 1.115 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009774/1.031, allocations: 0.7473 MB / 1.115 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.031, allocations: 0 / 1.115 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/1.035, allocations: 0.871 MB / 1.116 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.035, allocations: 134.6 kB / 1.116 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/1.035, allocations: 7.25 kB / 1.116 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/1.035, allocations: 15.42 kB / 1.116 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/1.035, allocations: 11.7 kB / 1.116 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/1.035, allocations: 14.14 kB / 1.116 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003547/1.036, allocations: 235.6 kB / 1.117 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.036, allocations: 0 / 1.117 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006996/1.037, allocations: 116.5 kB / 1.117 GB, free: 15.42 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.0004305/1.037, allocations: 187.4 kB / 1.117 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00171/1.039, allocations: 0.5755 MB / 1.117 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.039, allocations: 0 / 1.117 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/1.039, allocations: 257 kB / 1.118 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/1.04, allocations: 63.02 kB / 1.118 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.041, allocations: 0.6115 MB / 1.118 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.042, allocations: 0.7546 MB / 1.119 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001757/1.042, allocations: 43.36 kB / 1.119 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/1.042, allocations: 22.22 kB / 1.119 GB, free: 14 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.042, allocations: 0 / 1.119 GB, free: 14 MB / 0.8731 GB Notification: Performance of Templates: time 0.01555/1.058, allocations: 7.2 MB / 1.126 GB, free: 13.53 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 cvode -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