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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.288/2.288, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5196, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002906/0.5225, allocations: 2.388 MB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.6647, allocations: 151 MB / 1.1 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.6649, allocations: 4 kB / 1.1 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.6653, allocations: 91.44 kB / 1.1 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.6659, allocations: 238.6 kB / 1.1 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.6674, allocations: 0.6544 MB / 1.1 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.6679, allocations: 438.5 kB / 1.101 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.6681, allocations: 48.72 kB / 1.101 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.6683, allocations: 179.4 kB / 1.101 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.6686, allocations: 199.3 kB / 1.101 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.6687, allocations: 32 kB / 1.101 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.6698, allocations: 0.6239 MB / 1.102 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.6699, allocations: 83.72 kB / 1.102 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.6701, allocations: 159.2 kB / 1.102 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.6709, allocations: 0.6505 MB / 1.103 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6709, allocations: 4 kB / 1.103 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6709, allocations: 0 / 1.103 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6709, allocations: 0 / 1.103 GB, free: 4.535 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.001546/0.6725, allocations: 0.7377 MB / 1.104 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6725, allocations: 12.03 kB / 1.104 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.6726, allocations: 46.73 kB / 1.104 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.6743, allocations: 168.1 kB / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.6747, allocations: 302.2 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.6748, allocations: 45.7 kB / 1.104 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.6749, allocations: 20 kB / 1.104 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.6753, allocations: 212 kB / 1.104 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6753, allocations: 0 / 1.104 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.6753, allocations: 8 kB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6753, allocations: 4 kB / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.6756, allocations: 116.1 kB / 1.104 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.6781, allocations: 0.9963 MB / 1.105 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.6789, allocations: 170.5 kB / 1.106 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.6791, allocations: 96.83 kB / 1.106 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6792, allocations: 4 kB / 1.106 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.6796, allocations: 185 kB / 1.106 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 3.166e-06/0.6796, allocations: 0 / 1.106 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004209/0.6838, allocations: 0.8694 MB / 1.107 GB, free: 328 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.6838, allocations: 85.11 kB / 1.107 GB, free: 224 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.6842, allocations: 340.4 kB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.6843, allocations: 29.7 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.6844, allocations: 156.6 kB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.6845, allocations: 59.19 kB / 1.107 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.6846, allocations: 89.78 kB / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6847, allocations: 342.8 kB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.6851, allocations: 136.5 kB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.6855, allocations: 221.3 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.6862, allocations: 340.9 kB / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6862, allocations: 0 / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003834/0.69, allocations: 0.8565 MB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.6901, allocations: 41.69 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6901, allocations: 7.922 kB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009272/0.691, allocations: 193.6 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.6913, allocations: 43.91 kB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.6941, allocations: 2.339 MB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.6945, allocations: 43.73 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.6946, allocations: 19.98 kB / 1.112 GB, free: 10.73 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.0001964/0.6948, allocations: 183.8 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.6948, allocations: 31.62 kB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.6949, allocations: 31.36 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6949, allocations: 11.94 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6949, allocations: 3.984 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6949, allocations: 0 / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.6982, allocations: 1.039 MB / 1.113 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6983, allocations: 3.938 kB / 1.113 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.6983, allocations: 11.94 kB / 1.113 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.6986, allocations: 108.8 kB / 1.113 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.6987, allocations: 7.984 kB / 1.113 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008734/0.6995, allocations: 0.7459 MB / 1.114 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6996, allocations: 0 / 1.114 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.7028, allocations: 0.8822 MB / 1.115 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.703, allocations: 132.7 kB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.703, allocations: 8 kB / 1.115 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.7033, allocations: 11.98 kB / 1.115 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.7034, allocations: 15.97 kB / 1.115 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.7034, allocations: 7.984 kB / 1.115 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000268/0.7037, allocations: 243 kB / 1.115 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7037, allocations: 4.062 kB / 1.115 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004545/0.7041, allocations: 112 kB / 1.115 GB, free: 7.004 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.001498/0.7056, allocations: 1.222 MB / 1.117 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7072, allocations: 0.5851 MB / 1.117 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7072, allocations: 0 / 1.117 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/0.708, allocations: 244.2 kB / 1.117 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.7085, allocations: 67.22 kB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7195, allocations: 4.373 MB / 1.122 GB, free: 340 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7198, allocations: 0.756 MB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.72, allocations: 34.27 kB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.7201, allocations: 83.41 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/0.7201, allocations: 0 / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.7494, allocations: 10.24 MB / 1.133 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.59, allocations: 19.16 kB / 1.133 GB, free: 5.426 MB / 0.8887 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.96 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.csv","/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