Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001587/0.001587, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001849/0.001849, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7994, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003753/0.8032, allocations: 2.196 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.8055, allocations: 1.362 MB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.8057, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.8064, allocations: 195.3 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.8068, allocations: 127.4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.8073, allocations: 155.3 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.8077, allocations: 223.1 kB / 1.213 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.8078, allocations: 48.03 kB / 1.213 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.808, allocations: 95.56 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.8082, allocations: 99.48 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.8083, allocations: 12 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.8085, allocations: 51.95 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.8086, allocations: 87.69 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.8087, allocations: 142.9 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.8092, allocations: 360.6 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8092, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8092, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.8092, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 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.001007/0.8102, allocations: 0.6725 MB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8103, allocations: 8.031 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.8104, allocations: 44.38 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.8108, allocations: 368.1 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.8109, allocations: 384 / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.8109, allocations: 11.94 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.8111, allocations: 77.59 kB / 1.215 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.8111, allocations: 0 / 1.215 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.8111, allocations: 4 kB / 1.215 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8112, allocations: 0 / 1.215 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.8113, allocations: 31.98 kB / 1.215 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.812, allocations: 464.4 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.8122, allocations: 66.67 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.8123, allocations: 36.78 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.8123, allocations: 0 / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.8125, allocations: 71.39 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.8125, allocations: 0 / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003604/0.8129, allocations: 145.1 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.8129, allocations: 63.28 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.8135, allocations: 0.5256 MB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.8136, allocations: 33.64 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.8137, allocations: 220 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.8138, allocations: 19.81 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.8138, allocations: 41.55 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.814, allocations: 362.8 kB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.8141, allocations: 43.98 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.8142, allocations: 82.48 kB / 1.217 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8144, allocations: 92.53 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8144, allocations: 0 / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003148/0.8147, allocations: 193 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8148, allocations: 4 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8148, allocations: 0 / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.8148, allocations: 4 kB / 1.217 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.8149, allocations: 27.86 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8149, allocations: 0 / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.8151, allocations: 15.94 kB / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.8151, allocations: 12.02 kB / 1.217 GB, free: 4.559 MB / 0.9356 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.0001752/0.8153, allocations: 177.8 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.8153, allocations: 43.42 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.8154, allocations: 47.8 kB / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8154, allocations: 3.938 kB / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8154, allocations: 4 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8155, allocations: 0 / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.8157, allocations: 297.5 kB / 1.218 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8157, allocations: 0 / 1.218 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.8157, allocations: 11.94 kB / 1.218 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8158, allocations: 4 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.8158, allocations: 0 / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.8158, allocations: 4.188 kB / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8158, allocations: 0 / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.816, allocations: 152.5 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.8161, allocations: 112.6 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.8162, allocations: 4 kB / 1.218 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.8163, allocations: 15.92 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.8163, allocations: 11.98 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.8164, allocations: 0 / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003677/0.8167, allocations: 366.8 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8167, allocations: 0 / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002723/0.817, allocations: 43.91 kB / 1.218 GB, free: 3.188 MB / 0.9356 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.001017/0.818, allocations: 426.7 kB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.8183, allocations: 87.97 kB / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8183, allocations: 0 / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.8184, allocations: 31.92 kB / 1.219 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.8188, allocations: 49.44 kB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.8199, allocations: 0.6848 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.8202, allocations: 0.8138 MB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.8203, allocations: 27.38 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8203, allocations: 0 / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.007039/0.8274, allocations: 4.144 MB / 1.224 GB, free: 13.05 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches