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.0008654/0.0008654, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009141/0.000914, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.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.458/2.458, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005884, allocations: 16 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7004, allocations: 142.4 MB / 0.9545 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002015/0.7024, allocations: 2.035 MB / 0.9564 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.8506, allocations: 137.1 MB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.851, allocations: 0 / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.8514, allocations: 71.64 kB / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.8521, allocations: 210.9 kB / 1.091 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.8536, allocations: 0.5115 MB / 1.091 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.8541, allocations: 370.7 kB / 1.091 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.8542, allocations: 44.7 kB / 1.092 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.8544, allocations: 155.5 kB / 1.092 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.8547, allocations: 175.4 kB / 1.092 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.8548, allocations: 16 kB / 1.092 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.8558, allocations: 0.5031 MB / 1.092 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.8559, allocations: 75.72 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.856, allocations: 69.58 kB / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.8566, allocations: 462.9 kB / 1.093 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8566, allocations: 0 / 1.093 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8566, allocations: 0 / 1.093 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8566, allocations: 0 / 1.093 GB, free: 1.324 MB / 0.8419 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.001428/0.8581, allocations: 0.6909 MB / 1.094 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8581, allocations: 12.03 kB / 1.094 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.8596, allocations: 159.5 kB / 1.094 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.86, allocations: 302.4 kB / 1.094 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.8601, allocations: 53.64 kB / 1.094 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.8602, allocations: 20.08 kB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.8606, allocations: 212.1 kB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8606, allocations: 0 / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.8607, allocations: 4 kB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8607, allocations: 0 / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.8609, allocations: 116.2 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.8633, allocations: 1 MB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.864, allocations: 170.3 kB / 1.096 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.8642, allocations: 100.8 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.8642, allocations: 3.984 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.8646, allocations: 194.3 kB / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.704e-06/0.8646, allocations: 0 / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.003736/0.8684, allocations: 0.8806 MB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.8684, allocations: 81.11 kB / 1.097 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.8688, allocations: 336.4 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.8688, allocations: 33.7 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.869, allocations: 148.6 kB / 1.097 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.869, allocations: 59.19 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.8691, allocations: 8 kB / 1.097 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8692, allocations: 350.8 kB / 1.098 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.8695, allocations: 132.5 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.8699, allocations: 221.3 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.8703, allocations: 174.8 kB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8703, allocations: 4 kB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003375/0.8737, allocations: 0.8683 MB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.8737, allocations: 37.7 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8737, allocations: 4 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008754/0.8746, allocations: 209.7 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.8749, allocations: 39.92 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.8776, allocations: 2.245 MB / 1.102 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.878, allocations: 47.67 kB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.8781, allocations: 15.98 kB / 1.102 GB, free: 7.973 MB / 0.8575 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.8783, allocations: 200 kB / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.8784, allocations: 31.62 kB / 1.102 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.8784, allocations: 23.17 kB / 1.102 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8784, allocations: 4 kB / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.8784, allocations: 0 / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8784, allocations: 0 / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.8815, allocations: 1.051 MB / 1.103 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8815, allocations: 7.953 kB / 1.103 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.8815, allocations: 11.94 kB / 1.103 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.8819, allocations: 108.8 kB / 1.103 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.8819, allocations: 11.98 kB / 1.103 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008279/0.8827, allocations: 0.7459 MB / 1.104 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8827, allocations: 3.938 kB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.8857, allocations: 0.8784 MB / 1.105 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.8859, allocations: 136.7 kB / 1.105 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.8859, allocations: 8.062 kB / 1.105 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.8862, allocations: 19.94 kB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.8863, allocations: 11.98 kB / 1.105 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.8863, allocations: 15.98 kB / 1.105 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002855/0.8866, allocations: 235 kB / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8866, allocations: 0 / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006324/0.8872, allocations: 119.9 kB / 1.105 GB, free: 4.215 MB / 0.8575 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/0.8876, allocations: 180.8 kB / 1.105 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.8892, allocations: 0.573 MB / 1.106 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8892, allocations: 0 / 1.106 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.8899, allocations: 244.1 kB / 1.106 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.8905, allocations: 61.81 kB / 1.106 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.8918, allocations: 0.702 MB / 1.107 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.8922, allocations: 0.7599 MB / 1.108 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.8923, allocations: 26.23 kB / 1.108 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.8924, allocations: 23.42 kB / 1.108 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.8924, allocations: 0 / 1.108 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.01516/0.9076, allocations: 6.637 MB / 1.114 GB, free: 10.98 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/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