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.008135/0.008135, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001765/0.001765, allocations: 188.6 kB / 16.67 MB, free: 5.422 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.226/2.226, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6597, allocations: 140.4 MB / 1.087 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003078/0.6628, allocations: 2.173 MB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.6646, allocations: 1.384 MB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.6648, allocations: 6.344 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.6655, allocations: 193.4 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.6658, allocations: 127.8 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.6663, allocations: 141.9 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.6666, allocations: 232.4 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.6668, allocations: 42.67 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.6669, allocations: 93.66 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.6671, allocations: 92.06 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.6672, allocations: 11.12 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.6673, allocations: 63.64 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.6675, allocations: 86.11 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.6676, allocations: 137.1 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.6681, allocations: 360.9 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6681, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6681, allocations: 0.8125 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.6681, allocations: 7.938 kB / 1.092 GB, free: 1.996 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008981/0.669, allocations: 0.6625 MB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6691, allocations: 11.45 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.6691, allocations: 37.17 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.6692, allocations: 49.16 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.6696, allocations: 352.5 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.6696, allocations: 10.53 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.6697, allocations: 9.062 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.6699, allocations: 83.38 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6699, allocations: 0 / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6699, allocations: 0.875 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6699, allocations: 1.5 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.67, allocations: 36.36 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.6707, allocations: 456.4 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.6709, allocations: 74.03 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.671, allocations: 25.17 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.671, allocations: 2.109 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.6712, allocations: 78.81 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.6712, allocations: 4.812 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003563/0.6716, allocations: 143.5 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.6716, allocations: 52.84 kB / 1.094 GB, free: 380 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.6722, allocations: 0.529 MB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.6723, allocations: 32 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.6724, allocations: 214.1 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.6725, allocations: 21.08 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.6726, allocations: 45.56 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6727, allocations: 357.8 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.6728, allocations: 49.11 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.673, allocations: 86.66 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.6732, allocations: 85.16 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6732, allocations: 112 / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003727/0.6736, allocations: 197.5 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6736, allocations: 5.031 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6736, allocations: 1.312 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6736, allocations: 4.844 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6738, allocations: 21.34 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6738, allocations: 5.922 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6739, allocations: 22.22 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.674, allocations: 4.344 kB / 1.096 GB, free: 15.32 MB / 0.8731 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.0001971/0.6742, allocations: 188.8 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.6742, allocations: 43.39 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.6743, allocations: 41.38 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.6743, allocations: 5.531 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6744, allocations: 256 / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6744, allocations: 1.922 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.6747, allocations: 298.7 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6747, allocations: 1.094 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.6747, allocations: 3.469 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6747, allocations: 2.297 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6747, allocations: 4.75 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6747, allocations: 4.562 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6748, allocations: 1.25 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.675, allocations: 152.3 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.6751, allocations: 110.6 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.6752, allocations: 6.672 kB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.6753, allocations: 10.67 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.6753, allocations: 11.88 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6753, allocations: 7.5 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000436/0.6758, allocations: 364.6 kB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6758, allocations: 0 / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002986/0.6761, allocations: 44.5 kB / 1.097 GB, free: 14.48 MB / 0.8731 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.001378/0.6775, allocations: 1.015 MB / 1.098 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.6778, allocations: 88.69 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6778, allocations: 4 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.6779, allocations: 27 kB / 1.098 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.6783, allocations: 62.94 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.6821, allocations: 3.054 MB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.6825, allocations: 0.8143 MB / 1.102 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.6826, allocations: 22.88 kB / 1.102 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6828, allocations: 114 kB / 1.102 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.6828, allocations: 1.281 kB / 1.102 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.7106, allocations: 7.251 MB / 1.11 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.142, allocations: 11.41 kB / 1.11 GB, free: 9.859 MB / 0.8731 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