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.004827/0.004826, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001067/0.001067, allocations: 195.6 kB / 16.68 MB, free: 5.93 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.165/1.165, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.1/2.1, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6751, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002889/0.678, allocations: 2.18 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.6796, allocations: 1.383 MB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.6798, allocations: 6.031 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.6803, allocations: 185.5 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.6805, allocations: 135.8 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.6809, allocations: 135.4 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.6811, allocations: 228.8 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.6813, allocations: 42.16 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.6814, allocations: 98.09 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.6815, allocations: 95.61 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.6815, allocations: 10.72 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.6817, allocations: 52.59 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.6818, allocations: 94.47 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.6819, allocations: 136 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.6823, allocations: 357.6 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6823, allocations: 0 / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6823, allocations: 0 / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.6823, allocations: 5.062 kB / 1.092 GB, free: 2.027 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.0007673/0.6831, allocations: 0.6778 MB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6831, allocations: 9.625 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.6831, allocations: 34.67 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.6832, allocations: 44.41 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.6836, allocations: 353 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.6836, allocations: 7.375 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.6836, allocations: 8.938 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.6838, allocations: 82.17 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6838, allocations: 1.453 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6838, allocations: 0.7188 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6838, allocations: 0.75 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.6839, allocations: 35.64 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.6845, allocations: 461.3 kB / 1.094 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.6847, allocations: 72.95 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.6848, allocations: 23.14 kB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.6848, allocations: 4.75 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.6849, allocations: 71.69 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.6849, allocations: 4 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.6852, allocations: 152.2 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.6853, allocations: 52.72 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.6858, allocations: 0.5252 MB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6858, allocations: 35.55 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.686, allocations: 213.9 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.686, allocations: 17.61 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.6861, allocations: 41.09 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6862, allocations: 362.3 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.6863, allocations: 48.17 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6865, allocations: 78.62 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.6866, allocations: 90.14 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6867, allocations: 0.7812 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003102/0.687, allocations: 196.6 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.687, allocations: 6.797 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.687, allocations: 4.969 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.687, allocations: 5.031 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.6871, allocations: 21.16 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.6871, allocations: 1.938 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.6873, allocations: 20.89 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6873, allocations: 9.297 kB / 1.096 GB, free: 15.35 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.0001742/0.6875, allocations: 185.6 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.6875, allocations: 41.41 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.6876, allocations: 45.23 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6876, allocations: 6.047 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6876, allocations: 0 / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6876, allocations: 0.5 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.6879, allocations: 300.8 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.6879, allocations: 0 / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.688, allocations: 4.109 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.688, allocations: 4.828 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.688, allocations: 5.672 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.688, allocations: 5.125 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.688, allocations: 0.7031 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.6882, allocations: 152.8 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.6883, allocations: 110.1 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.6884, allocations: 2.766 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.6885, allocations: 13.95 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.6885, allocations: 12.5 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.6885, allocations: 3.891 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003812/0.6889, allocations: 364.1 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6889, allocations: 0 / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002579/0.6892, allocations: 45.16 kB / 1.097 GB, free: 14.51 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.001228/0.6904, allocations: 1.009 MB / 1.098 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.6907, allocations: 92.72 kB / 1.098 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6907, allocations: 0 / 1.098 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.6907, allocations: 31.62 kB / 1.098 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6911, allocations: 65.72 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.6944, allocations: 3.05 MB / 1.101 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6948, allocations: 0.818 MB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.6949, allocations: 26.91 kB / 1.102 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.695, allocations: 114.2 kB / 1.102 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.695, allocations: 0 / 1.102 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.666/2.361, allocations: 7.249 MB / 1.11 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/10.32, allocations: 9.016 kB / 1.11 GB, free: 9.883 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 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.mat","/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