Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001058/0.001058, allocations: 183.3 kB / 492.3 MB, free: 0.6211 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.586/1.586, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.00098/0.0009801, allocations: 99.86 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.983e-05, allocations: 5.719 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.944/1.234, allocations: 152.3 MB / 1.361 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.234, allocations: 83.67 kB / 1.361 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0135/1.247, allocations: 6.235 MB / 1.367 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.248, allocations: 0 / 1.367 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.248, allocations: 7.844 kB / 1.367 GB, free: 33.87 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.0005051/1.248, allocations: 0.5424 MB / 1.368 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.248, allocations: 11.53 kB / 1.368 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/1.248, allocations: 38.84 kB / 1.368 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.248, allocations: 261.4 kB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.248, allocations: 14.91 kB / 1.368 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/1.248, allocations: 15.03 kB / 1.368 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/1.249, allocations: 135.9 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.249, allocations: 0 / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.249, allocations: 10.47 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.249, allocations: 7.781 kB / 1.368 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/1.249, allocations: 79.94 kB / 1.368 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/1.25, allocations: 0.6049 MB / 1.369 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.25, allocations: 92.81 kB / 1.369 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/1.25, allocations: 51.05 kB / 1.369 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/1.25, allocations: 3.875 kB / 1.369 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.25, allocations: 34.69 kB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/1.25, allocations: 0 / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002208/1.25, allocations: 122.9 kB / 1.369 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.25, allocations: 51.41 kB / 1.369 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/1.25, allocations: 357.2 kB / 1.37 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.251, allocations: 25.7 kB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.251, allocations: 217.9 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.251, allocations: 29.94 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.251, allocations: 3.812 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.251, allocations: 347 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/1.251, allocations: 25.75 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/1.251, allocations: 39.88 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/1.251, allocations: 28.16 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.251, allocations: 4 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001487/1.251, allocations: 133.7 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.251, allocations: 5.188 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.251, allocations: 3.875 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.251, allocations: 0 / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.251, allocations: 33.39 kB / 1.371 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.251, allocations: 3.953 kB / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.251, allocations: 22.88 kB / 1.371 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/1.251, allocations: 3.875 kB / 1.371 GB, free: 31.92 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 6.156e-05/1.251, allocations: 111.8 kB / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.252, allocations: 34.94 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/1.252, allocations: 40.42 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.252, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.252, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.252, allocations: 7.891 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/1.252, allocations: 306.2 kB / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.252, allocations: 4 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/1.252, allocations: 36.47 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/1.252, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.252, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.252, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.252, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/1.252, allocations: 257 kB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/1.252, allocations: 111.6 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/1.252, allocations: 3.875 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/1.253, allocations: 10.11 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/1.253, allocations: 5.547 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/1.253, allocations: 6.094 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002269/1.253, allocations: 288.8 kB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.253, allocations: 0 / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002425/1.253, allocations: 48.94 kB / 1.372 GB, free: 31.22 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.0001817/1.253, allocations: 134.3 kB / 1.372 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.253, allocations: 60.5 kB / 1.372 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.253, allocations: 0 / 1.372 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/1.254, allocations: 40.5 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/1.254, allocations: 36.41 kB / 1.372 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/1.254, allocations: 455.7 kB / 1.372 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.255, allocations: 0.8028 MB / 1.373 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.825e-05/1.255, allocations: 14.22 kB / 1.373 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/1.255, allocations: 15.16 kB / 1.373 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.255, allocations: 3.875 kB / 1.373 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.005124/1.26, allocations: 2.106 MB / 1.375 GB, free: 30.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches