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.001384/0.001384, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001345/0.001345, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.209/2.209, allocations: 390.3 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 64.88 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.00374/0.3044, allocations: 2.466 MB / 0.9522 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7468/1.051, allocations: 148.8 MB / 1.097 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/1.052, allocations: 3.812 kB / 1.097 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/1.052, allocations: 85.94 kB / 1.098 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009677/1.053, allocations: 212 kB / 1.098 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/1.055, allocations: 0.6024 MB / 1.098 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006777/1.056, allocations: 433 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/1.056, allocations: 49.31 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/1.056, allocations: 183.9 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/1.057, allocations: 204.2 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/1.057, allocations: 29.31 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/1.059, allocations: 0.6465 MB / 1.1 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/1.059, allocations: 87.95 kB / 1.1 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/1.059, allocations: 165 kB / 1.1 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/1.06, allocations: 479.8 kB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.06, allocations: 1.906 kB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/1.06, allocations: 4.438 kB / 1.101 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.06, allocations: 4 kB / 1.101 GB, free: 5.934 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.002108/1.062, allocations: 0.7362 MB / 1.101 GB, free: 21.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.062, allocations: 9.812 kB / 1.101 GB, free: 21.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/1.064, allocations: 159.1 kB / 1.101 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/1.065, allocations: 314.7 kB / 1.102 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/1.065, allocations: 47.16 kB / 1.102 GB, free: 21.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/1.065, allocations: 23.94 kB / 1.102 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/1.065, allocations: 209.4 kB / 1.102 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.065, allocations: 2.234 kB / 1.102 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.065, allocations: 6.219 kB / 1.102 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/1.065, allocations: 2.062 kB / 1.102 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/1.066, allocations: 120.1 kB / 1.102 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/1.069, allocations: 0.9958 MB / 1.103 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.069, allocations: 163.1 kB / 1.103 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/1.07, allocations: 103.4 kB / 1.103 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/1.07, allocations: 1.766 kB / 1.103 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/1.07, allocations: 187.6 kB / 1.104 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/1.07, allocations: 1.125 kB / 1.104 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0046/1.075, allocations: 0.8673 MB / 1.104 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/1.075, allocations: 85.58 kB / 1.104 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/1.075, allocations: 339.2 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/1.075, allocations: 32.44 kB / 1.105 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.076, allocations: 153.3 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/1.076, allocations: 58.02 kB / 1.105 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/1.076, allocations: 84.73 kB / 1.105 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.076, allocations: 346 kB / 1.105 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/1.076, allocations: 136.2 kB / 1.106 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/1.077, allocations: 218 kB / 1.106 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/1.077, allocations: 336.1 kB / 1.106 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.077, allocations: 3.188 kB / 1.106 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00411/1.082, allocations: 0.8584 MB / 1.107 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.082, allocations: 43.55 kB / 1.107 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.082, allocations: 1.281 kB / 1.107 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/1.083, allocations: 195.2 kB / 1.107 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.083, allocations: 45.69 kB / 1.107 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/1.086, allocations: 2.345 MB / 1.109 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/1.087, allocations: 46.22 kB / 1.11 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/1.087, allocations: 21.02 kB / 1.11 GB, free: 17.21 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.0002976/1.087, allocations: 188.5 kB / 1.11 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/1.087, allocations: 30.97 kB / 1.11 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/1.087, allocations: 28.92 kB / 1.11 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.087, allocations: 2.344 kB / 1.11 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.087, allocations: 7.938 kB / 1.11 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.087, allocations: 3.094 kB / 1.11 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.091, allocations: 1.045 MB / 1.111 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.091, allocations: 0.5625 kB / 1.111 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/1.091, allocations: 8.406 kB / 1.111 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/1.091, allocations: 114 kB / 1.111 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.091, allocations: 13.88 kB / 1.111 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009544/1.092, allocations: 0.744 MB / 1.112 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.092, allocations: 0.5 kB / 1.112 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/1.096, allocations: 0.8792 MB / 1.113 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.096, allocations: 138.5 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/1.096, allocations: 6.609 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/1.096, allocations: 14.05 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/1.096, allocations: 8.344 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.096, allocations: 11.89 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003288/1.097, allocations: 237.4 kB / 1.113 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.352e-06/1.097, allocations: 4.062 kB / 1.113 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000706/1.097, allocations: 113.1 kB / 1.113 GB, free: 15.64 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.0003914/1.098, allocations: 192 kB / 1.113 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.099, allocations: 0.5761 MB / 1.114 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.099, allocations: 0 / 1.114 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/1.1, allocations: 251 kB / 1.114 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/1.101, allocations: 63.58 kB / 1.114 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/1.102, allocations: 0.7019 MB / 1.115 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/1.103, allocations: 0.7598 MB / 1.116 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/1.103, allocations: 27.3 kB / 1.116 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/1.103, allocations: 0 / 1.116 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01151/1.114, allocations: 6.503 MB / 1.122 GB, free: 13.56 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 -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