Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.001555/0.001555, 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.00177/0.00177, allocations: 195.8 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.348/2.348, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5569, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003136/0.5601, allocations: 2.192 MB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.5617, allocations: 1.375 MB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.5618, allocations: 2.094 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.5623, allocations: 192.3 kB / 0.9534 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.5626, allocations: 120.5 kB / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.563, allocations: 150.4 kB / 0.9536 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.5632, allocations: 223.3 kB / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.5634, allocations: 50.39 kB / 0.9539 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5635, allocations: 93.92 kB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.5636, allocations: 97.11 kB / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.5637, allocations: 14.94 kB / 0.9541 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.5638, allocations: 58.25 kB / 0.9542 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.5639, allocations: 91.48 kB / 0.9542 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.564, allocations: 135.8 kB / 0.9544 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.5643, allocations: 354.2 kB / 0.9547 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5643, allocations: 0 / 0.9547 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5643, allocations: 3.938 kB / 0.9547 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5643, allocations: 1.281 kB / 0.9547 GB, free: 5.336 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007092/0.565, allocations: 0.6672 MB / 0.9554 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5651, allocations: 13.12 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.5651, allocations: 36 kB / 0.9554 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.5652, allocations: 46.09 kB / 0.9555 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.5655, allocations: 359.1 kB / 0.9558 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5655, allocations: 12.03 kB / 0.9558 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5655, allocations: 0.8438 kB / 0.9558 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5657, allocations: 79.62 kB / 0.9559 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.5657, allocations: 0 / 0.9559 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5657, allocations: 1 kB / 0.9559 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5657, allocations: 5.094 kB / 0.9559 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.5658, allocations: 38.92 kB / 0.9559 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.5664, allocations: 453.5 kB / 0.9564 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.5666, allocations: 70.45 kB / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.5666, allocations: 26.81 kB / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.5667, allocations: 1.312 kB / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.5668, allocations: 77.3 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.5668, allocations: 0 / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003179/0.5671, allocations: 141.1 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.5672, allocations: 60.62 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.5676, allocations: 0.5321 MB / 0.9572 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5677, allocations: 31.64 kB / 0.9573 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5678, allocations: 215.5 kB / 0.9575 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5678, allocations: 19.36 kB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.5679, allocations: 45.84 kB / 0.9575 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.5679, allocations: 354.8 kB / 0.9579 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.568, allocations: 47.09 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.5681, allocations: 79.55 kB / 0.958 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.5683, allocations: 85.62 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5683, allocations: 3.938 kB / 0.9581 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002734/0.5686, allocations: 194.8 kB / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5686, allocations: 7.219 kB / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5686, allocations: 5.312 kB / 0.9583 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5686, allocations: 9.375 kB / 0.9583 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5687, allocations: 29.8 kB / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5688, allocations: 1.375 kB / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5689, allocations: 18.58 kB / 0.9583 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.5689, allocations: 8.016 kB / 0.9583 GB, free: 2.324 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5691, allocations: 179.1 kB / 0.9585 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.5691, allocations: 42.16 kB / 0.9586 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.5692, allocations: 51.36 kB / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5692, allocations: 5.094 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5692, allocations: 0 / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5692, allocations: 0 / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.5694, allocations: 293.2 kB / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5694, allocations: 0 / 0.9589 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.5695, allocations: 7.312 kB / 0.9589 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5695, allocations: 1.125 kB / 0.9589 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5695, allocations: 4.906 kB / 0.9589 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5695, allocations: 4.75 kB / 0.9589 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5695, allocations: 0 / 0.9589 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.5697, allocations: 152.8 kB / 0.9591 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.5698, allocations: 117.1 kB / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5698, allocations: 0.875 kB / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.5699, allocations: 12.23 kB / 0.9592 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.57, allocations: 13.17 kB / 0.9592 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.57, allocations: 1.844 kB / 0.9592 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00035/0.5703, allocations: 363.4 kB / 0.9595 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5703, allocations: 4 kB / 0.9595 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002712/0.5706, allocations: 43.75 kB / 0.9596 GB, free: 1.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.5718, allocations: 0.9964 MB / 0.9606 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.5721, allocations: 103.4 kB / 0.9607 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5721, allocations: 0.7812 kB / 0.9607 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.5722, allocations: 27.36 kB / 0.9607 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.5725, allocations: 58.52 kB / 0.9607 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.576, allocations: 3.101 MB / 0.9638 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.5764, allocations: 0.8176 MB / 0.9646 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.5765, allocations: 33.12 kB / 0.9646 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.5767, allocations: 114 kB / 0.9647 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.5767, allocations: 0 / 0.9647 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.5997, allocations: 7.131 MB / 0.9717 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.138, allocations: 10.52 kB / 0.9717 GB, free: 9.848 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches