Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.01044/0.01044, allocations: 99.56 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.002572/0.002572, allocations: 193.9 kB / 16.67 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.737/2.737, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.83 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003801/1.02, allocations: 2.184 MB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002141/1.022, allocations: 1.382 MB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/1.022, allocations: 3.938 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/1.023, allocations: 179.1 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/1.023, allocations: 131.4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/1.024, allocations: 137.1 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/1.024, allocations: 227.1 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/1.024, allocations: 48.38 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/1.024, allocations: 99.5 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/1.024, allocations: 95.55 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/1.024, allocations: 8 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/1.025, allocations: 59.91 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/1.025, allocations: 99.59 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/1.025, allocations: 127 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/1.025, allocations: 358.8 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.025, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.025, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.025, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 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.000986/1.026, allocations: 0.7072 MB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/1.026, allocations: 12.03 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/1.026, allocations: 44.66 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/1.027, allocations: 352.8 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/1.027, allocations: 8.375 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/1.027, allocations: 7.938 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.027, allocations: 77.59 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/1.027, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.027, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.027, allocations: 4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/1.027, allocations: 35.98 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/1.028, allocations: 468.4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/1.028, allocations: 66.67 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/1.028, allocations: 28.84 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/1.028, allocations: 4 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/1.028, allocations: 79.38 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/1.028, allocations: 3.938 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0003326/1.029, allocations: 141.4 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.029, allocations: 55.34 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/1.029, allocations: 0.5372 MB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.029, allocations: 33.7 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.03, allocations: 212 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.03, allocations: 23.83 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/1.03, allocations: 41.7 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.03, allocations: 350.8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.03, allocations: 51.97 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.03, allocations: 74.55 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.03, allocations: 91.36 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.03, allocations: 0 / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003035/1.031, allocations: 197.2 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.031, allocations: 8 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.031, allocations: 0 / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.031, allocations: 0 / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.031, allocations: 27.92 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.031, allocations: 32 / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.031, allocations: 23.94 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/1.031, allocations: 4 kB / 1.175 GB, free: 10.71 MB / 0.9044 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.0001678/1.031, allocations: 183.4 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/1.031, allocations: 43.72 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/1.031, allocations: 43.8 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.031, allocations: 3.938 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.031, allocations: 0 / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.031, allocations: 3.938 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/1.031, allocations: 305.5 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.031, allocations: 0 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/1.031, allocations: 4 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.031, allocations: 0 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.032, allocations: 368 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.032, allocations: 15.86 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.032, allocations: 0 / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/1.032, allocations: 156.7 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/1.032, allocations: 120.8 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/1.032, allocations: 8 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/1.032, allocations: 11.92 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/1.032, allocations: 7.984 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/1.032, allocations: 8 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003572/1.032, allocations: 362.8 kB / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.032, allocations: 0 / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002551/1.033, allocations: 43.98 kB / 1.176 GB, free: 9.324 MB / 0.9044 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.0009753/1.034, allocations: 416.3 kB / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002539/1.034, allocations: 95.91 kB / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.034, allocations: 0 / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/1.034, allocations: 27.98 kB / 1.177 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/1.034, allocations: 56.84 kB / 1.177 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/1.035, allocations: 0.655 MB / 1.178 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/1.036, allocations: 0.8216 MB / 1.178 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.742e-05/1.036, allocations: 25.53 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/1.036, allocations: 23.42 kB / 1.179 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/1.036, allocations: 0 / 1.179 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of Templates: time 0.006978/1.043, allocations: 2.875 MB / 1.181 GB, free: 4.473 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches