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.476/2.476, allocations: 390.5 MB / 398 MB, free: 11.04 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.001124/0.001124, allocations: 175.8 kB / 491.2 MB, free: 1.629 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.58/1.58, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009143/0.0009143, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.165e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3184, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.355, allocations: 152.4 MB / 1.361 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.355, allocations: 83.59 kB / 1.361 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/1.369, allocations: 6.171 MB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.344e-06/1.369, allocations: 0 / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.436e-05/1.369, allocations: 3.844 kB / 1.367 GB, free: 32.41 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.0007115/1.37, allocations: 0.5447 MB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.37, allocations: 11.66 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/1.37, allocations: 50.67 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/1.37, allocations: 253.4 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/1.37, allocations: 3.969 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/1.371, allocations: 10.58 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001975/1.371, allocations: 75.59 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.371, allocations: 118.1 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.371, allocations: 0 / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.371, allocations: 0 / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.371, allocations: 3.969 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/1.372, allocations: 0.554 MB / 1.369 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/1.372, allocations: 88.98 kB / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/1.372, allocations: 53.89 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.372, allocations: 0 / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/1.372, allocations: 34.38 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/1.372, allocations: 0 / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002252/1.372, allocations: 114.2 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/1.372, allocations: 51.41 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/1.373, allocations: 324.5 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.373, allocations: 27.78 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.373, allocations: 203.5 kB / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.373, allocations: 32.94 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.373, allocations: 0 / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.373, allocations: 349.9 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/1.373, allocations: 21.38 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/1.373, allocations: 38.91 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/1.373, allocations: 23.64 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.373, allocations: 0 / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000159/1.373, allocations: 126.4 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.373, allocations: 3.875 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.373, allocations: 3.844 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.373, allocations: 2.812 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/1.374, allocations: 34.61 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.374, allocations: 11.92 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/1.374, allocations: 18.09 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/1.374, allocations: 3.812 kB / 1.37 GB, free: 30.48 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.117e-05/1.374, allocations: 101 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/1.374, allocations: 34.94 kB / 1.371 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/1.374, allocations: 38.77 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.374, allocations: 0 / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.374, allocations: 4 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.374, allocations: 3.953 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/1.374, allocations: 271.2 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.374, allocations: 0 / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/1.374, allocations: 29.53 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.374, allocations: 0 / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.374, allocations: 3.844 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.374, allocations: 0 / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.374, allocations: 3.328 kB / 1.371 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/1.375, allocations: 245.9 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.375, allocations: 100.5 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/1.375, allocations: 7.188 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.375, allocations: 3.906 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/1.375, allocations: 9.875 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.375, allocations: 3.906 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002127/1.375, allocations: 256.5 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.375, allocations: 0 / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002561/1.375, allocations: 42.53 kB / 1.371 GB, free: 29.81 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.0002079/1.376, allocations: 133.7 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.376, allocations: 70.47 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.376, allocations: 0 / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/1.376, allocations: 33.12 kB / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.376, allocations: 25.83 kB / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/1.377, allocations: 452.5 kB / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/1.377, allocations: 0.8033 MB / 1.373 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.915e-05/1.377, allocations: 7.453 kB / 1.373 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/1.377, allocations: 15.12 kB / 1.373 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.377, allocations: 0 / 1.373 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.005112/1.383, allocations: 1.259 MB / 1.374 GB, free: 28.66 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