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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007538/0.007538, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001552/0.001552, allocations: 199.3 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.16 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.327, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003964/0.331, allocations: 2.453 MB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3321, allocations: 0.5354 MB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.3323, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.3328, allocations: 136.4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.333, allocations: 91.22 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.3332, allocations: 39.95 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.3334, allocations: 246.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.3337, allocations: 111 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3338, allocations: 83.72 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.334, allocations: 99.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.334, allocations: 20 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.3341, allocations: 16 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3342, allocations: 91.61 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3344, allocations: 155 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.3347, allocations: 338.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3347, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3347, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.3348, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 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.0009267/0.3357, allocations: 0.657 MB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3357, allocations: 8.031 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.3358, allocations: 44.38 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3363, allocations: 298.2 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3363, allocations: 16.38 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3363, allocations: 12.38 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.3366, allocations: 145.9 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3367, allocations: 192 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3367, allocations: 11.94 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3367, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.337, allocations: 95.7 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000852/0.3378, allocations: 0.578 MB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.3381, allocations: 90.55 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3382, allocations: 44.89 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3382, allocations: 7.938 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3383, allocations: 30.56 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.3383, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003762/0.3387, allocations: 153.1 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3387, allocations: 55.41 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3391, allocations: 390 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3391, allocations: 25.7 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3393, allocations: 208 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3393, allocations: 31.55 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.3394, allocations: 33.61 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3395, allocations: 354.8 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.3396, allocations: 23.98 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.3397, allocations: 59.41 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3399, allocations: 87.36 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3399, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002435/0.3401, allocations: 153.5 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3401, allocations: 4 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3402, allocations: 0 / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3402, allocations: 4.094 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3403, allocations: 31.86 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3403, allocations: 4.094 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.3404, allocations: 11.84 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3404, allocations: 8 kB / 1.096 GB, free: 9.195 MB / 0.8575 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.0001369/0.3406, allocations: 157.8 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.3406, allocations: 31.62 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.3407, allocations: 47.19 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3407, allocations: 0 / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3407, allocations: 0 / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3407, allocations: 0 / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3411, allocations: 321.4 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3411, allocations: 0 / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3412, allocations: 23.92 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3412, allocations: 4 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3412, allocations: 0 / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3412, allocations: 0 / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3412, allocations: 0 / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3416, allocations: 259 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3417, allocations: 108.7 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3417, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.3418, allocations: 15.92 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3419, allocations: 4 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3419, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002484/0.3421, allocations: 283.1 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3421, allocations: 0 / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002765/0.3424, allocations: 43.78 kB / 1.097 GB, free: 7.824 MB / 0.8575 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.0001354/0.3426, allocations: 107.8 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3428, allocations: 75.88 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3428, allocations: 0 / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.3429, allocations: 31.98 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3433, allocations: 29.48 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3444, allocations: 0.6625 MB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3448, allocations: 0.7942 MB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.3448, allocations: 16.64 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.3449, allocations: 11.44 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3449, allocations: 0 / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.004583/0.3495, allocations: 1.274 MB / 1.1 GB, free: 4.777 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches