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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00162/0.00162, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 472.7 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.86 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3647, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004692/0.3695, allocations: 2.48 MB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3705, allocations: 0.5238 MB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.3707, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.3713, allocations: 123.8 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.3715, allocations: 83.39 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.3717, allocations: 31.98 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.372, allocations: 242.7 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.3722, allocations: 99.23 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3724, allocations: 79.66 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3726, allocations: 99.5 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.3726, allocations: 19.94 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.3727, allocations: 12 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3728, allocations: 67.75 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3729, allocations: 147 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3733, allocations: 326.7 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3733, allocations: 3.984 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3733, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3733, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 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.0009657/0.3743, allocations: 0.6417 MB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3743, allocations: 8.031 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.3744, allocations: 44.38 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.3748, allocations: 310.2 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3748, allocations: 8.375 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.3749, allocations: 16.38 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3752, allocations: 135.8 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3752, allocations: 12.11 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3752, allocations: 11.94 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3753, allocations: 8 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.3755, allocations: 87.95 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.3764, allocations: 0.5973 MB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3766, allocations: 86.61 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3768, allocations: 48.88 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3768, allocations: 11.94 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3768, allocations: 34.5 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3768, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003729/0.3772, allocations: 153.1 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3772, allocations: 55.41 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.3776, allocations: 382 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3776, allocations: 29.7 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3778, allocations: 216 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3778, allocations: 35.55 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3779, allocations: 25.62 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.378, allocations: 354.7 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.3781, allocations: 27.98 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.3782, allocations: 55.42 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3784, allocations: 91.36 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3784, allocations: 0 / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.3786, allocations: 145.2 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3787, allocations: 4 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3787, allocations: 4.094 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3787, allocations: 7.984 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3788, allocations: 23.94 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3788, allocations: 480 / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.379, allocations: 19.83 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.379, allocations: 4 kB / 1.075 GB, free: 2.59 MB / 0.8262 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.0001465/0.3791, allocations: 167.3 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3792, allocations: 39.52 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.3793, allocations: 47.14 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3793, allocations: 4 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3793, allocations: 0 / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3793, allocations: 0 / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.3796, allocations: 309.5 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3796, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3798, allocations: 23.92 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3798, allocations: 0 / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3798, allocations: 4 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3798, allocations: 0 / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3798, allocations: 4 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3802, allocations: 258.9 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.3803, allocations: 104.8 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3803, allocations: 12 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3804, allocations: 3.984 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3805, allocations: 4 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3805, allocations: 8.062 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002597/0.3807, allocations: 279.1 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3807, allocations: 0 / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002799/0.381, allocations: 47.78 kB / 1.077 GB, free: 1.203 MB / 0.8262 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.0001225/0.3811, allocations: 103.2 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3814, allocations: 71.86 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3814, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.3815, allocations: 40.45 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3819, allocations: 28.84 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3831, allocations: 0.7601 MB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.3836, allocations: 0.7984 MB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.854e-05/0.3837, allocations: 8.656 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.3838, allocations: 15.44 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3838, allocations: 3.938 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.004844/0.3886, allocations: 1.178 MB / 1.08 GB, free: 14.15 MB / 0.8419 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/jenkins/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