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.451/2.451, allocations: 393.5 MB / 408.4 MB, free: 11 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.001249/0.001249, allocations: 183.9 kB / 0.4902 GB, free: 2.238 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.001269/0.00127, allocations: 103.1 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004311, allocations: 9.578 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.6562, allocations: 155.7 MB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.6566, allocations: 91.94 kB / 1.381 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.6832, allocations: 10.47 MB / 1.392 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6832, allocations: 0 / 1.392 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.6833, allocations: 12 kB / 1.392 GB, free: 14.89 MB / 0.9011 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.000916/0.6842, allocations: 0.6688 MB / 1.392 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6843, allocations: 8.562 kB / 1.392 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.6844, allocations: 43.44 kB / 1.392 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.6849, allocations: 347.2 kB / 1.393 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.685, allocations: 4 kB / 1.393 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.685, allocations: 4 kB / 1.393 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.6852, allocations: 85.59 kB / 1.393 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6852, allocations: 0 / 1.393 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6852, allocations: 0 / 1.393 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6852, allocations: 3.984 kB / 1.393 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.6853, allocations: 35.98 kB / 1.393 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.6861, allocations: 484.5 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.6863, allocations: 70.61 kB / 1.393 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6863, allocations: 0 / 1.393 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.6865, allocations: 79.45 kB / 1.393 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/0.6865, allocations: 4 kB / 1.393 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0003562/0.6869, allocations: 145.1 kB / 1.394 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.687, allocations: 55.39 kB / 1.394 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.6875, allocations: 481.2 kB / 1.394 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6875, allocations: 33.7 kB / 1.394 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.6877, allocations: 216.1 kB / 1.394 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.6877, allocations: 23.69 kB / 1.394 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.6878, allocations: 4 kB / 1.394 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6879, allocations: 358.8 kB / 1.395 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.688, allocations: 59.97 kB / 1.395 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.6882, allocations: 75.48 kB / 1.395 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.6883, allocations: 59.98 kB / 1.395 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6883, allocations: 3.938 kB / 1.395 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003507/0.6887, allocations: 211.6 kB / 1.395 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6887, allocations: 9.312 kB / 1.395 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6887, allocations: 7.984 kB / 1.395 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6887, allocations: 3.953 kB / 1.395 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.6889, allocations: 23.94 kB / 1.395 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6889, allocations: 3.984 kB / 1.395 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.689, allocations: 15.94 kB / 1.395 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.689, allocations: 8 kB / 1.395 GB, free: 11.1 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.6892, allocations: 177.8 kB / 1.395 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.6893, allocations: 47.44 kB / 1.395 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.6896, allocations: 149.3 kB / 1.395 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6896, allocations: 7.953 kB / 1.395 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6896, allocations: 256 / 1.395 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6896, allocations: 0 / 1.395 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.6899, allocations: 305.5 kB / 1.396 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6899, allocations: 0 / 1.396 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.6899, allocations: 4 kB / 1.396 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6899, allocations: 0 / 1.396 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6899, allocations: 11.98 kB / 1.396 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6899, allocations: 0 / 1.396 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.69, allocations: 3.953 kB / 1.396 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.6902, allocations: 164.5 kB / 1.396 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6903, allocations: 116.5 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.6903, allocations: 4 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.6904, allocations: 7.984 kB / 1.396 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.6905, allocations: 15.98 kB / 1.396 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.6905, allocations: 11.94 kB / 1.396 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003667/0.6909, allocations: 358.8 kB / 1.396 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.685e-06/0.6909, allocations: 0 / 1.396 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002986/0.6912, allocations: 63.86 kB / 1.396 GB, free: 9.574 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001021/0.6922, allocations: 446.5 kB / 1.397 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.6925, allocations: 103.9 kB / 1.397 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6926, allocations: 0 / 1.397 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.6926, allocations: 27.98 kB / 1.397 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.693, allocations: 56.98 kB / 1.397 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.6939, allocations: 0.7322 MB / 1.398 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6943, allocations: 0.818 MB / 1.399 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.908e-05/0.6944, allocations: 29.69 kB / 1.399 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.6945, allocations: 27.42 kB / 1.399 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.6945, allocations: 0 / 1.399 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of Templates: time 0.007087/0.7016, allocations: 3.142 MB / 1.402 GB, free: 4.332 MB / 0.9011 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