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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01071/0.01071, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.002111/0.002112, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.087, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003955/1.091, allocations: 2.187 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00201/1.093, allocations: 1.368 MB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/1.094, allocations: 10.62 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/1.094, allocations: 197.4 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/1.094, allocations: 126.7 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/1.095, allocations: 143.8 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/1.095, allocations: 233 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/1.095, allocations: 51.69 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/1.096, allocations: 93 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/1.096, allocations: 96.77 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/1.096, allocations: 11.03 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/1.096, allocations: 56.05 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/1.096, allocations: 94.05 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/1.096, allocations: 129.3 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/1.097, allocations: 358.3 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.097, allocations: 4 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.315e-06/1.097, allocations: 0.7812 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.097, allocations: 0 / 1.093 GB, free: 2.516 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.0009094/1.098, allocations: 0.6748 MB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.098, allocations: 10 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/1.098, allocations: 44.88 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/1.098, allocations: 349.1 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/1.098, allocations: 10.44 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/1.098, allocations: 12.75 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.098, allocations: 79.28 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.098, allocations: 0.6562 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/1.098, allocations: 0.8125 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.098, allocations: 1.281 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/1.099, allocations: 40.23 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/1.099, allocations: 468 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/1.099, allocations: 61.52 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/1.099, allocations: 26.34 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/1.1, allocations: 1.766 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/1.1, allocations: 82.97 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/1.1, allocations: 0.9375 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000343/1.1, allocations: 139.3 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.1, allocations: 56.91 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/1.101, allocations: 0.5296 MB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.101, allocations: 30.55 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.101, allocations: 214.1 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/1.101, allocations: 17.55 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/1.101, allocations: 45.75 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/1.101, allocations: 357.7 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/1.101, allocations: 48.41 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.101, allocations: 83.48 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.102, allocations: 88.95 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.102, allocations: 4.797 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000351/1.102, allocations: 189.1 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.102, allocations: 5.125 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.102, allocations: 1.547 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.102, allocations: 0.7812 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/1.102, allocations: 25.56 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.102, allocations: 5.219 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/1.102, allocations: 21.34 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.102, allocations: 5.109 kB / 1.097 GB, free: 15.88 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.0002779/1.103, allocations: 193 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/1.103, allocations: 43.39 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/1.103, allocations: 45.45 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.103, allocations: 5.891 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.103, allocations: 0 / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.103, allocations: 5.031 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/1.103, allocations: 295.7 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.103, allocations: 0.5938 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/1.103, allocations: 4.078 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.103, allocations: 4.812 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.103, allocations: 5.484 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.103, allocations: 5.578 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.103, allocations: 0.5938 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/1.104, allocations: 145.1 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.104, allocations: 117.5 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.104, allocations: 2.266 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/1.104, allocations: 14.83 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/1.104, allocations: 13.27 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/1.104, allocations: 2.859 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004641/1.104, allocations: 364 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.104, allocations: 0 / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002736/1.105, allocations: 44.94 kB / 1.098 GB, free: 15.04 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.0009475/1.106, allocations: 410.6 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002667/1.106, allocations: 101.2 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.106, allocations: 1.125 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/1.106, allocations: 26.09 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/1.106, allocations: 58.53 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/1.107, allocations: 0.633 MB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.108, allocations: 0.8141 MB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.082e-05/1.108, allocations: 26.91 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/1.108, allocations: 20.17 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/1.108, allocations: 3.938 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.007793/1.116, allocations: 2.884 MB / 1.103 GB, free: 13.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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