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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 113.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 63.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8334, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003836/0.8373, allocations: 2.454 MB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.8382, allocations: 0.5276 MB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.8384, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.8388, allocations: 131.4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.8389, allocations: 91.27 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.8391, allocations: 43.95 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.8393, allocations: 238.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.8396, allocations: 114.8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.8397, allocations: 87.66 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.8398, allocations: 103.4 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.8399, allocations: 20 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.8399, allocations: 16 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.84, allocations: 83.69 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.8402, allocations: 151 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.8405, allocations: 340.7 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8405, allocations: 0 / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8405, allocations: 0 / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8406, allocations: 4 kB / 1.213 GB, free: 9.281 MB / 0.9356 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.0008412/0.8414, allocations: 0.6494 MB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8415, allocations: 12.03 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.8415, allocations: 48.31 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.8419, allocations: 298.2 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.8419, allocations: 16.38 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.842, allocations: 16.38 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.8423, allocations: 139.5 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8423, allocations: 192 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.8423, allocations: 7.938 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.8423, allocations: 4 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.8426, allocations: 91.95 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.8434, allocations: 0.5858 MB / 1.215 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.8436, allocations: 90.59 kB / 1.215 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.8437, allocations: 40.84 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.8438, allocations: 4 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8438, allocations: 38.56 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.8438, allocations: 0 / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003652/0.8442, allocations: 141.1 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8442, allocations: 51.41 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.8446, allocations: 393.9 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.8447, allocations: 33.7 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.8448, allocations: 216 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.8449, allocations: 35.45 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.8449, allocations: 29.72 kB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8451, allocations: 354.7 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.8452, allocations: 23.98 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.8453, allocations: 59.36 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.8455, allocations: 91.67 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8455, allocations: 0 / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002532/0.8457, allocations: 145.2 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8457, allocations: 4 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8458, allocations: 0 / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8458, allocations: 4 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.8459, allocations: 32.08 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8459, allocations: 0 / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.846, allocations: 7.906 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.846, allocations: 4 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.8462, allocations: 169.7 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.8462, allocations: 35.53 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.8463, allocations: 39.22 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8463, allocations: 0 / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8463, allocations: 8 kB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8463, allocations: 3.984 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.8467, allocations: 317.4 kB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8467, allocations: 0 / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.8468, allocations: 19.98 kB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8468, allocations: 0 / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.8468, allocations: 4 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.8468, allocations: 0 / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8468, allocations: 0 / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.8472, allocations: 262.9 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.8473, allocations: 108.8 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.8473, allocations: 0 / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.8474, allocations: 4.188 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.8475, allocations: 7.984 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.8475, allocations: 7.938 kB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002885/0.8478, allocations: 279.1 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8478, allocations: 7.938 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000272/0.8481, allocations: 51.84 kB / 1.217 GB, free: 4.016 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.8482, allocations: 99.25 kB / 1.218 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.8484, allocations: 71.91 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8484, allocations: 0 / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.8485, allocations: 35.92 kB / 1.218 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.8489, allocations: 28.09 kB / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.85, allocations: 0.6897 MB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.8505, allocations: 0.802 MB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.8505, allocations: 15.44 kB / 1.219 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.8505, allocations: 0 / 1.219 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of Templates: time 0.00525/0.8558, allocations: 2.993 MB / 1.222 GB, free: 15.24 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches