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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002011/0.002011, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.455/2.455, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6041, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002985/0.6071, allocations: 2.451 MB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.7647, allocations: 148.7 MB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.7649, allocations: 0 / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.7652, allocations: 83.56 kB / 1.097 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.7658, allocations: 207 kB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.7672, allocations: 0.5731 MB / 1.097 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.7676, allocations: 422.5 kB / 1.098 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.7677, allocations: 44.72 kB / 1.098 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.7679, allocations: 167.4 kB / 1.098 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.7682, allocations: 187.3 kB / 1.098 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.7682, allocations: 24 kB / 1.098 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.7693, allocations: 0.6784 MB / 1.099 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.7694, allocations: 71.72 kB / 1.099 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.7696, allocations: 151.2 kB / 1.099 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.7704, allocations: 0.6544 MB / 1.1 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7704, allocations: 3.938 kB / 1.1 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.82e-07/0.7704, allocations: 0 / 1.1 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7705, allocations: 0 / 1.1 GB, free: 7.176 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.001544/0.772, allocations: 0.7417 MB / 1.1 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.772, allocations: 8.031 kB / 1.1 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.7738, allocations: 160.4 kB / 1.101 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.7742, allocations: 306.2 kB / 1.101 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.7743, allocations: 45.7 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.7743, allocations: 16 kB / 1.101 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.7748, allocations: 212.1 kB / 1.101 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7748, allocations: 4 kB / 1.101 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.7748, allocations: 7.938 kB / 1.101 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.7748, allocations: 4 kB / 1.101 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.7751, allocations: 120.1 kB / 1.101 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.7776, allocations: 0.9885 MB / 1.102 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007996/0.7784, allocations: 170.4 kB / 1.102 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.7787, allocations: 96.83 kB / 1.102 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.7787, allocations: 4 kB / 1.103 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.7791, allocations: 190.4 kB / 1.103 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 2.214e-06/0.7792, allocations: 0 / 1.103 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004369/0.7835, allocations: 0.8686 MB / 1.104 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.7836, allocations: 85.11 kB / 1.104 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.784, allocations: 336.4 kB / 1.104 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.7841, allocations: 33.7 kB / 1.104 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.7842, allocations: 156.6 kB / 1.104 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.7843, allocations: 55.2 kB / 1.104 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.7844, allocations: 89.84 kB / 1.104 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7845, allocations: 346.7 kB / 1.105 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.7849, allocations: 132.5 kB / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.7853, allocations: 225.3 kB / 1.105 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.786, allocations: 348.9 kB / 1.105 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.786, allocations: 0 / 1.105 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003946/0.79, allocations: 0.856 MB / 1.106 GB, free: 292 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.79, allocations: 37.75 kB / 1.106 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.79, allocations: 8 kB / 1.106 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.791, allocations: 193.5 kB / 1.106 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.7913, allocations: 43.89 kB / 1.106 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.7941, allocations: 2.233 MB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.7946, allocations: 47.56 kB / 1.109 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.7947, allocations: 23.92 kB / 1.109 GB, free: 13.54 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.0002231/0.7949, allocations: 186.5 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.795, allocations: 31.62 kB / 1.109 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.795, allocations: 31.17 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.795, allocations: 0 / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.795, allocations: 0 / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7951, allocations: 3.984 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.7985, allocations: 1.043 MB / 1.11 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7985, allocations: 0 / 1.11 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.7986, allocations: 7.984 kB / 1.11 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/0.7989, allocations: 116.7 kB / 1.11 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.799, allocations: 11.97 kB / 1.11 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009169/0.7999, allocations: 0.7459 MB / 1.111 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7999, allocations: 0 / 1.111 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.8033, allocations: 0.8855 MB / 1.112 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.8034, allocations: 136.6 kB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.8035, allocations: 4 kB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.8038, allocations: 20.05 kB / 1.112 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.8038, allocations: 7.984 kB / 1.112 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.8039, allocations: 12 kB / 1.112 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002988/0.8042, allocations: 235 kB / 1.112 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8042, allocations: 0 / 1.112 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004997/0.8047, allocations: 108 kB / 1.112 GB, free: 9.816 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.0003677/0.8051, allocations: 193 kB / 1.112 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.8068, allocations: 0.5573 MB / 1.113 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8069, allocations: 0 / 1.113 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.8077, allocations: 246.6 kB / 1.113 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.8082, allocations: 66.8 kB / 1.113 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.8098, allocations: 0.68 MB / 1.114 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.8102, allocations: 0.7637 MB / 1.115 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.8103, allocations: 26.3 kB / 1.115 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.8104, allocations: 23.42 kB / 1.115 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/0.8104, allocations: 3.938 kB / 1.115 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of Templates: time 0.0128/0.8232, allocations: 6.87 MB / 1.121 GB, free: 372 kB / 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 -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