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.273/2.273, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.00101/0.00101, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009742/0.0009742, allocations: 91.91 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.805e-05/4.808e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9277/1.231, allocations: 155.7 MB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.231, allocations: 93.38 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02751/1.259, allocations: 10.44 MB / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.259, allocations: 0 / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.49e-05/1.259, allocations: 8 kB / 1.381 GB, free: 5.426 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.0008893/1.26, allocations: 0.5748 MB / 1.382 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.26, allocations: 8.031 kB / 1.382 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/1.26, allocations: 43.44 kB / 1.382 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/1.261, allocations: 353.9 kB / 1.382 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.261, allocations: 7.375 kB / 1.382 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.261, allocations: 4 kB / 1.382 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.261, allocations: 77.23 kB / 1.382 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.261, allocations: 0 / 1.382 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.261, allocations: 11.38 kB / 1.382 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.261, allocations: 0 / 1.382 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/1.261, allocations: 34.11 kB / 1.382 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/1.262, allocations: 474.7 kB / 1.383 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/1.262, allocations: 63.69 kB / 1.383 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/1.262, allocations: 26.67 kB / 1.383 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/1.262, allocations: 4 kB / 1.383 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/1.262, allocations: 74.97 kB / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/1.262, allocations: 4 kB / 1.383 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003098/1.263, allocations: 127.8 kB / 1.383 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.263, allocations: 54.97 kB / 1.383 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/1.263, allocations: 483.7 kB / 1.383 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.263, allocations: 29.52 kB / 1.383 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/1.264, allocations: 213.9 kB / 1.384 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/1.264, allocations: 26.28 kB / 1.384 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/1.264, allocations: 0 / 1.384 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.264, allocations: 359.2 kB / 1.384 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/1.264, allocations: 53.42 kB / 1.384 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.264, allocations: 85.55 kB / 1.384 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/1.264, allocations: 57.14 kB / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.264, allocations: 0 / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003216/1.264, allocations: 208.5 kB / 1.384 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.264, allocations: 8 kB / 1.384 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.264, allocations: 4.016 kB / 1.384 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.264, allocations: 4 kB / 1.384 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.265, allocations: 27.92 kB / 1.384 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.265, allocations: 0 / 1.384 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.265, allocations: 15.73 kB / 1.384 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.265, allocations: 8.109 kB / 1.384 GB, free: 2.246 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 9.566e-05/1.265, allocations: 117.8 kB / 1.385 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/1.265, allocations: 43.44 kB / 1.385 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/1.265, allocations: 135.3 kB / 1.385 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.265, allocations: 3.953 kB / 1.385 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.265, allocations: 0 / 1.385 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/1.265, allocations: 0 / 1.385 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/1.266, allocations: 306.8 kB / 1.385 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.266, allocations: 0 / 1.385 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/1.266, allocations: 4 kB / 1.385 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.266, allocations: 0 / 1.385 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.266, allocations: 8.047 kB / 1.385 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.266, allocations: 0 / 1.385 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.266, allocations: 11.95 kB / 1.385 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/1.266, allocations: 151.8 kB / 1.385 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.266, allocations: 120 kB / 1.385 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/1.266, allocations: 7.984 kB / 1.385 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/1.266, allocations: 4 kB / 1.385 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/1.266, allocations: 19.38 kB / 1.385 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/1.266, allocations: 7.922 kB / 1.385 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003914/1.267, allocations: 361.3 kB / 1.386 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.267, allocations: 0 / 1.386 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003007/1.267, allocations: 62.67 kB / 1.386 GB, free: 0.9961 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.001025/1.268, allocations: 408.8 kB / 1.386 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.268, allocations: 96.94 kB / 1.386 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.268, allocations: 0 / 1.386 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/1.268, allocations: 26.94 kB / 1.386 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/1.269, allocations: 58.73 kB / 1.386 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/1.269, allocations: 445.9 kB / 1.387 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/1.27, allocations: 0.8276 MB / 1.388 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001049/1.27, allocations: 25.69 kB / 1.388 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/1.27, allocations: 18.81 kB / 1.388 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.27, allocations: 0 / 1.388 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.007525/1.278, allocations: 3.236 MB / 1.391 GB, free: 12.09 MB / 0.8542 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