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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.381/2.381, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 175.8 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.782/1.782, allocations: 221.5 MB / 0.7868 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.0009679, allocations: 102.1 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.016e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9552/1.242, allocations: 155 MB / 1.364 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.243, allocations: 86.75 kB / 1.364 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02318/1.266, allocations: 10.35 MB / 1.374 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.266, allocations: 0 / 1.374 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.266, allocations: 11.69 kB / 1.374 GB, free: 32.2 MB / 0.8386 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.0005657/1.267, allocations: 0.5666 MB / 1.374 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.267, allocations: 15.38 kB / 1.374 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/1.267, allocations: 42.44 kB / 1.374 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/1.267, allocations: 354.6 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.267, allocations: 0 / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/1.267, allocations: 3.812 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.097e-05/1.267, allocations: 36.58 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/1.267, allocations: 72.08 kB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.267, allocations: 0 / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/1.267, allocations: 7.969 kB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.267, allocations: 0 / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/1.268, allocations: 444.8 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/1.268, allocations: 64.16 kB / 1.375 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/1.268, allocations: 25.61 kB / 1.375 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/1.268, allocations: 3.938 kB / 1.375 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/1.268, allocations: 70.02 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/1.268, allocations: 0 / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002005/1.269, allocations: 122.5 kB / 1.376 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.269, allocations: 53.72 kB / 1.376 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/1.269, allocations: 457.9 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.269, allocations: 25.7 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.269, allocations: 221.8 kB / 1.376 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/1.269, allocations: 18.06 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.269, allocations: 0 / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.269, allocations: 356.5 kB / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/1.269, allocations: 48.64 kB / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/1.269, allocations: 87.3 kB / 1.377 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/1.27, allocations: 59.33 kB / 1.377 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.27, allocations: 3.812 kB / 1.377 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002858/1.27, allocations: 206.8 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.27, allocations: 3.969 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.27, allocations: 7.609 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.27, allocations: 0 / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.27, allocations: 32.44 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.27, allocations: 4.062 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.27, allocations: 14.23 kB / 1.377 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.27, allocations: 11.56 kB / 1.377 GB, free: 30.29 MB / 0.8386 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/1.27, allocations: 106 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/1.27, allocations: 45.39 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/1.271, allocations: 127.3 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.271, allocations: 112 / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.271, allocations: 11.89 kB / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.271, allocations: 0 / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/1.271, allocations: 276.4 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.271, allocations: 3.844 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/1.271, allocations: 6.516 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.271, allocations: 0 / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/1.271, allocations: 0 / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.271, allocations: 64 / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.271, allocations: 4 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/1.271, allocations: 163.1 kB / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/1.271, allocations: 122.4 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/1.271, allocations: 6.266 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/1.271, allocations: 3.844 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/1.271, allocations: 12.94 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/1.271, allocations: 6.484 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002565/1.272, allocations: 332.7 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.272, allocations: 0 / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002513/1.272, allocations: 56.86 kB / 1.378 GB, free: 29.62 MB / 0.8386 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007745/1.273, allocations: 391.3 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001523/1.273, allocations: 88.27 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.273, allocations: 0 / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/1.273, allocations: 34.03 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/1.273, allocations: 53.95 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.274, allocations: 446 kB / 1.379 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.274, allocations: 0.8298 MB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.487e-05/1.274, allocations: 30.67 kB / 1.38 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/1.274, allocations: 17.94 kB / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.274, allocations: 0 / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.005687/1.28, allocations: 2.687 MB / 1.383 GB, free: 28.12 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches