Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, 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.001045/0.001045, allocations: 169 kB / 496.1 MB, free: 12.89 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.49/1.49, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0008841/0.0008844, allocations: 83.97 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.974e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2947, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9906/1.285, allocations: 153.1 MB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.286, allocations: 83.06 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01519/1.301, allocations: 6.239 MB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.301, allocations: 0 / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.653e-05/1.301, allocations: 4 kB / 1.374 GB, free: 11.44 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007362/1.302, allocations: 0.549 MB / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.302, allocations: 8.031 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/1.302, allocations: 51.39 kB / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/1.302, allocations: 245.3 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/1.302, allocations: 14.31 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/1.302, allocations: 11.88 kB / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/1.302, allocations: 137.3 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.303, allocations: 0 / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.303, allocations: 3.625 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.303, allocations: 4 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/1.303, allocations: 84.56 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/1.304, allocations: 0.5984 MB / 1.376 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/1.304, allocations: 98.23 kB / 1.376 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/1.304, allocations: 53.89 kB / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/1.304, allocations: 5.969 kB / 1.376 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/1.304, allocations: 33.88 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/1.304, allocations: 0 / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002508/1.304, allocations: 121.9 kB / 1.376 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.304, allocations: 51.41 kB / 1.376 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/1.305, allocations: 355.7 kB / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/1.305, allocations: 32.58 kB / 1.377 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/1.305, allocations: 210 kB / 1.377 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.305, allocations: 30.42 kB / 1.377 GB, free: 9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.305, allocations: 3.375 kB / 1.377 GB, free: 9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.305, allocations: 349.2 kB / 1.377 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/1.305, allocations: 22.44 kB / 1.377 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/1.305, allocations: 43.91 kB / 1.377 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/1.305, allocations: 34.86 kB / 1.378 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.305, allocations: 0 / 1.378 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001742/1.305, allocations: 129.5 kB / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.305, allocations: 5.406 kB / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.305, allocations: 0 / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.305, allocations: 7.953 kB / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/1.306, allocations: 23.98 kB / 1.378 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.306, allocations: 7.969 kB / 1.378 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/1.306, allocations: 26.89 kB / 1.378 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.306, allocations: 0 / 1.378 GB, free: 8.414 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.106e-05/1.306, allocations: 116.4 kB / 1.378 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.306, allocations: 35.53 kB / 1.378 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/1.306, allocations: 43.88 kB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.306, allocations: 0 / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.306, allocations: 11.95 kB / 1.378 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.306, allocations: 0 / 1.378 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/1.306, allocations: 311.9 kB / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.306, allocations: 0 / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.306, allocations: 23.98 kB / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.306, allocations: 0 / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.306, allocations: 0 / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.307, allocations: 4 kB / 1.378 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.307, allocations: 0 / 1.378 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/1.307, allocations: 263.2 kB / 1.378 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/1.307, allocations: 104.7 kB / 1.379 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/1.307, allocations: 3.938 kB / 1.379 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.307, allocations: 15.42 kB / 1.379 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/1.307, allocations: 4 kB / 1.379 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.307, allocations: 3.984 kB / 1.379 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002747/1.307, allocations: 297.9 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.307, allocations: 0 / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002658/1.308, allocations: 47.84 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0002351/1.308, allocations: 118.9 kB / 1.379 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000162/1.308, allocations: 69.94 kB / 1.379 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.308, allocations: 0 / 1.379 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/1.308, allocations: 31.16 kB / 1.379 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/1.308, allocations: 42.42 kB / 1.379 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/1.309, allocations: 459.2 kB / 1.38 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/1.31, allocations: 0.8054 MB / 1.38 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.847e-05/1.31, allocations: 9.203 kB / 1.38 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/1.31, allocations: 15.44 kB / 1.38 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.31, allocations: 0 / 1.38 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of Templates: time 0.005594/1.315, allocations: 2.107 MB / 1.382 GB, free: 3.648 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches