Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 132 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.001187/0.001187, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.12 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00336/0.2434, allocations: 2.378 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.3865, allocations: 151 MB / 1.213 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3868, allocations: 4 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.3871, allocations: 95.42 kB / 1.214 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.3879, allocations: 234.6 kB / 1.214 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3895, allocations: 0.6557 MB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.39, allocations: 434.6 kB / 1.215 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3901, allocations: 52.66 kB / 1.215 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.3904, allocations: 179.4 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.3907, allocations: 203.3 kB / 1.215 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.3908, allocations: 32 kB / 1.215 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3921, allocations: 0.6161 MB / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3922, allocations: 83.72 kB / 1.216 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3924, allocations: 163.2 kB / 1.216 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3934, allocations: 0.6583 MB / 1.217 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3934, allocations: 0 / 1.217 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3934, allocations: 0 / 1.217 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3934, allocations: 4 kB / 1.217 GB, free: 1.168 MB / 0.9669 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.001609/0.3951, allocations: 0.7416 MB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3951, allocations: 8.031 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.3952, allocations: 46.73 kB / 1.218 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3968, allocations: 160.4 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.3973, allocations: 314.5 kB / 1.218 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.3974, allocations: 49.7 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.3974, allocations: 20 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.3979, allocations: 203.1 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3979, allocations: 4 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3979, allocations: 4 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3979, allocations: 4 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.3982, allocations: 124.1 kB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.4007, allocations: 0.9886 MB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.4015, allocations: 174.3 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4018, allocations: 92.83 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.4018, allocations: 4 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.4022, allocations: 193.1 kB / 1.22 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.4022, allocations: 0 / 1.22 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004295/0.4065, allocations: 0.8607 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4066, allocations: 81.11 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.407, allocations: 340.4 kB / 1.221 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.407, allocations: 37.7 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4071, allocations: 152.5 kB / 1.221 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.4072, allocations: 59.19 kB / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4074, allocations: 81.94 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4075, allocations: 350.7 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.4078, allocations: 132.5 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.4082, allocations: 225.3 kB / 1.222 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.4089, allocations: 336.6 kB / 1.222 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4089, allocations: 0 / 1.222 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003822/0.4127, allocations: 0.8649 MB / 1.223 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.4128, allocations: 45.62 kB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4128, allocations: 4 kB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/0.4137, allocations: 197.7 kB / 1.223 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.414, allocations: 47.84 kB / 1.223 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.4167, allocations: 2.326 MB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.4172, allocations: 47.67 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.4173, allocations: 15.98 kB / 1.226 GB, free: 7.367 MB / 0.9825 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.0002295/0.4175, allocations: 192.3 kB / 1.226 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.4176, allocations: 27.62 kB / 1.226 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.4176, allocations: 31.17 kB / 1.226 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4176, allocations: 4.188 kB / 1.226 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4176, allocations: 3.938 kB / 1.226 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4176, allocations: 3.984 kB / 1.226 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.4209, allocations: 1.037 MB / 1.227 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4209, allocations: 0 / 1.227 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.421, allocations: 12 kB / 1.227 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.4213, allocations: 112.7 kB / 1.227 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.4213, allocations: 19.86 kB / 1.227 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.4222, allocations: 0.742 MB / 1.228 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4222, allocations: 0 / 1.228 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.4254, allocations: 0.8809 MB / 1.229 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.4256, allocations: 136.7 kB / 1.229 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.4257, allocations: 8 kB / 1.229 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.4259, allocations: 11.98 kB / 1.229 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.426, allocations: 11.98 kB / 1.229 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.426, allocations: 7.984 kB / 1.229 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002821/0.4263, allocations: 243.1 kB / 1.229 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4263, allocations: 0 / 1.229 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004894/0.4268, allocations: 116 kB / 1.229 GB, free: 3.645 MB / 0.9825 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.00152/0.4284, allocations: 1.226 MB / 1.23 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.4299, allocations: 0.5738 MB / 1.231 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4299, allocations: 0 / 1.231 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.4307, allocations: 252 kB / 1.231 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.4312, allocations: 70.75 kB / 1.231 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.4422, allocations: 4.37 MB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4425, allocations: 0.7599 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.4426, allocations: 30.28 kB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4428, allocations: 87.39 kB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.4428, allocations: 0 / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.4715, allocations: 10.23 MB / 1.246 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.37, allocations: 9.766 kB / 1.246 GB, free: 2.074 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches