Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.009999/0.009999, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.002041/0.002041, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9482/0.9497, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003626/0.9533, allocations: 2.452 MB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.9542, allocations: 0.5315 MB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.9543, allocations: 8 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.9546, allocations: 131.4 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.9548, allocations: 95.27 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.9549, allocations: 35.97 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.9552, allocations: 242.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.9554, allocations: 83.66 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.9555, allocations: 75.73 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.9556, allocations: 103.4 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.9557, allocations: 20 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.9557, allocations: 20 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.9558, allocations: 83.69 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.9559, allocations: 155 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.9563, allocations: 346.9 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9563, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9563, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9563, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 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.0008305/0.9571, allocations: 0.6571 MB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9571, allocations: 8.031 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.9572, allocations: 52.59 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.9576, allocations: 310.5 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9576, allocations: 8.375 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.9576, allocations: 16.38 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.9579, allocations: 141.9 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.9579, allocations: 192 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.9579, allocations: 11.94 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.9579, allocations: 4 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.9582, allocations: 93.52 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.959, allocations: 0.5937 MB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.9592, allocations: 86.56 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.9593, allocations: 44.88 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.9593, allocations: 3.984 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.9593, allocations: 34.56 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.9593, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.9597, allocations: 149.3 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.9597, allocations: 55.41 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.9601, allocations: 390 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.9601, allocations: 29.7 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.9603, allocations: 216.2 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.9603, allocations: 27.75 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.9604, allocations: 33.66 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9605, allocations: 358.7 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.9606, allocations: 23.98 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.9607, allocations: 60.98 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.9608, allocations: 87.36 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9608, allocations: 0 / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000235/0.9611, allocations: 145.4 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9611, allocations: 4 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9611, allocations: 7.938 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9611, allocations: 0 / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9612, allocations: 27.98 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9612, allocations: 0 / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.9613, allocations: 8.094 kB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.9613, allocations: 4 kB / 1.228 GB, free: 9.863 MB / 0.9512 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.0001596/0.9615, allocations: 178.1 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.9615, allocations: 35.77 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.9616, allocations: 35.22 kB / 1.229 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9616, allocations: 0 / 1.229 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9616, allocations: 4 kB / 1.229 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9616, allocations: 3.938 kB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.9619, allocations: 309.4 kB / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9619, allocations: 4 kB / 1.229 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.9621, allocations: 23.98 kB / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9621, allocations: 0 / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9621, allocations: 3.938 kB / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.9621, allocations: 4 kB / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9621, allocations: 0 / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.9625, allocations: 259.2 kB / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.9626, allocations: 117 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.9626, allocations: 4 kB / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.9627, allocations: 0 / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.9627, allocations: 11.98 kB / 1.229 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.9627, allocations: 0 / 1.229 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002602/0.963, allocations: 275.1 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.963, allocations: 0 / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002749/0.9633, allocations: 51.83 kB / 1.23 GB, free: 8.477 MB / 0.9512 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.0001485/0.9634, allocations: 115.1 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.9636, allocations: 71.91 kB / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9636, allocations: 0 / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.9637, allocations: 31.94 kB / 1.23 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.9641, allocations: 25.95 kB / 1.23 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.9652, allocations: 0.6757 MB / 1.231 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.9655, allocations: 0.7981 MB / 1.231 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.937e-05/0.9656, allocations: 16.64 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.9656, allocations: 11.44 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9656, allocations: 0 / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.004474/0.9701, allocations: 1.291 MB / 1.233 GB, free: 5.398 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches