Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_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.001383/0.001383, 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.001544/0.001544, allocations: 196.9 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.492, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003255/0.4953, allocations: 2.387 MB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.6339, allocations: 151 MB / 1.167 GB, free: 8.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.6341, allocations: 4 kB / 1.167 GB, free: 8.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.6344, allocations: 91.42 kB / 1.167 GB, free: 8.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.6351, allocations: 246.5 kB / 1.168 GB, free: 8.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.6366, allocations: 0.6509 MB / 1.168 GB, free: 7.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.6371, allocations: 438.6 kB / 1.169 GB, free: 7.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.6373, allocations: 48.66 kB / 1.169 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.6375, allocations: 179.4 kB / 1.169 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.6378, allocations: 203.3 kB / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.6379, allocations: 28 kB / 1.169 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.639, allocations: 0.6239 MB / 1.17 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.6391, allocations: 83.72 kB / 1.17 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.6393, allocations: 171.1 kB / 1.17 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.6402, allocations: 0.6351 MB / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.6402, allocations: 0 / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6402, allocations: 4 kB / 1.17 GB, free: 5.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6402, allocations: 4 kB / 1.17 GB, free: 5.164 MB / 0.92 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.00149/0.6417, allocations: 0.7416 MB / 1.171 GB, free: 4.367 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6418, allocations: 12.03 kB / 1.171 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.6418, allocations: 42.75 kB / 1.171 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6434, allocations: 160.4 kB / 1.171 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.6439, allocations: 310.5 kB / 1.172 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.6439, allocations: 49.7 kB / 1.172 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.644, allocations: 16 kB / 1.172 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.6444, allocations: 209.6 kB / 1.172 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6444, allocations: 0 / 1.172 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.6444, allocations: 8 kB / 1.172 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6445, allocations: 4 kB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.6447, allocations: 124.1 kB / 1.172 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.6472, allocations: 0.9964 MB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.648, allocations: 162.5 kB / 1.173 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.6482, allocations: 96.81 kB / 1.173 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.6482, allocations: 4 kB / 1.173 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.6486, allocations: 188.9 kB / 1.174 GB, free: 1.855 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.6486, allocations: 0 / 1.174 GB, free: 1.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004181/0.6528, allocations: 0.8628 MB / 1.174 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.6529, allocations: 93.03 kB / 1.174 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.6533, allocations: 336.4 kB / 1.175 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.6533, allocations: 45.62 kB / 1.175 GB, free: 472 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.6534, allocations: 144.7 kB / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.6535, allocations: 59.19 kB / 1.175 GB, free: 264 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.6536, allocations: 85.84 kB / 1.175 GB, free: 172 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6538, allocations: 342.8 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.6541, allocations: 140.5 kB / 1.176 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.6545, allocations: 217.4 kB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.6552, allocations: 341 kB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6552, allocations: 0 / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003789/0.659, allocations: 0.8643 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.659, allocations: 33.7 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.659, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009194/0.6599, allocations: 201.5 kB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.6602, allocations: 35.92 kB / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.663, allocations: 2.353 MB / 1.179 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.6635, allocations: 47.66 kB / 1.18 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.6635, allocations: 19.98 kB / 1.18 GB, free: 11.35 MB / 0.9356 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.0001987/0.6637, allocations: 180 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.6638, allocations: 31.62 kB / 1.18 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.6638, allocations: 35.17 kB / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6639, allocations: 4 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6639, allocations: 3.938 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6639, allocations: 3.984 kB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.6672, allocations: 1.049 MB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6672, allocations: 0 / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.6672, allocations: 8 kB / 1.181 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.6675, allocations: 116.8 kB / 1.181 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.6676, allocations: 11.92 kB / 1.181 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/0.6685, allocations: 0.7536 MB / 1.182 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6685, allocations: 4 kB / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.6717, allocations: 0.8652 MB / 1.183 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.6718, allocations: 136.6 kB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.6719, allocations: 8 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.6722, allocations: 19.92 kB / 1.183 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.6722, allocations: 7.984 kB / 1.183 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.6723, allocations: 4 kB / 1.183 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002734/0.6726, allocations: 247.1 kB / 1.183 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6726, allocations: 0 / 1.183 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004419/0.673, allocations: 112 kB / 1.183 GB, free: 7.621 MB / 0.9356 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.001488/0.6745, allocations: 1.221 MB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.676, allocations: 0.5695 MB / 1.185 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6761, allocations: 0 / 1.185 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.6768, allocations: 248.1 kB / 1.185 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.6773, allocations: 68.25 kB / 1.185 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6883, allocations: 4.392 MB / 1.189 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.6886, allocations: 0.756 MB / 1.19 GB, free: 164 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.6887, allocations: 26.3 kB / 1.19 GB, free: 136 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6889, allocations: 87.39 kB / 1.19 GB, free: 48 kB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.6889, allocations: 0 / 1.19 GB, free: 48 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.7182, allocations: 10.22 MB / 1.2 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.21, allocations: 2.5 kB / 1.2 GB, free: 6.07 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches