Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002618/0.002618, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003432/0.003432, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.11/3.11, allocations: 377.9 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.362e-05/4.555e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004749/0.004794, allocations: 2.474 MB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.00616, allocations: 0.5371 MB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.006251, allocations: 4 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.00669, allocations: 119.2 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.006872, allocations: 97 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.007023, allocations: 43.89 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.007373, allocations: 258.4 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.007605, allocations: 73.88 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.007861, allocations: 131.7 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.008071, allocations: 71.8 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.008128, allocations: 20 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.008183, allocations: 16 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.008325, allocations: 94.84 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.008469, allocations: 87.7 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.00903, allocations: 326.9 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.009034, allocations: 0 / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009035, allocations: 0 / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.009045, allocations: 0 / 0.8151 GB, free: 13.75 MB / 0.7761 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.001241/0.01029, allocations: 0.697 MB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.01033, allocations: 9.156 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.01044, allocations: 56.66 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.01089, allocations: 259.2 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.01093, allocations: 8.375 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.01097, allocations: 16.91 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01129, allocations: 136 kB / 0.8162 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.0113, allocations: 192 / 0.8162 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.01133, allocations: 17.33 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.01134, allocations: 4.375 kB / 0.8162 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.01159, allocations: 85.5 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.0127, allocations: 0.6227 MB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.013, allocations: 98.97 kB / 0.817 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01312, allocations: 47.72 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.01314, allocations: 0 / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.01318, allocations: 34.2 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 3.467e-06/0.01318, allocations: 7.984 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0004023/0.01358, allocations: 150.2 kB / 0.8172 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.01364, allocations: 55.41 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.01418, allocations: 470.6 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.01421, allocations: 30.92 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.01446, allocations: 283 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.0145, allocations: 35.69 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.01456, allocations: 32.34 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003506/0.01491, allocations: 0.5391 MB / 0.8186 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.01499, allocations: 27.98 kB / 0.8187 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.0151, allocations: 71.58 kB / 0.8187 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.01529, allocations: 103.8 kB / 0.8188 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01529, allocations: 0 / 0.8188 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.01557, allocations: 154.3 kB / 0.819 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01558, allocations: 9.094 kB / 0.819 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01559, allocations: 0 / 0.819 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01561, allocations: 0 / 0.819 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01573, allocations: 25.05 kB / 0.819 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.01574, allocations: 7.984 kB / 0.819 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.01582, allocations: 7.953 kB / 0.819 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.01582, allocations: 5.031 kB / 0.819 GB, free: 9.473 MB / 0.7761 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.0001712/0.016, allocations: 180.5 kB / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.01606, allocations: 40.3 kB / 0.8192 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.01614, allocations: 40.89 kB / 0.8193 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01614, allocations: 0 / 0.8193 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01614, allocations: 0 / 0.8193 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01615, allocations: 0 / 0.8193 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.01656, allocations: 296.5 kB / 0.8196 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01657, allocations: 5.188 kB / 0.8196 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.0167, allocations: 27.92 kB / 0.8196 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01671, allocations: 0 / 0.8196 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01672, allocations: 5.031 kB / 0.8196 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.01672, allocations: 4 kB / 0.8196 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01672, allocations: 0 / 0.8196 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.01717, allocations: 304.3 kB / 0.8199 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.01725, allocations: 43 kB / 0.8199 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01729, allocations: 4 kB / 0.8199 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.01737, allocations: 4 kB / 0.8199 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.01743, allocations: 7.922 kB / 0.8199 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01744, allocations: 4 kB / 0.8199 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003422/0.01778, allocations: 299.1 kB / 0.8202 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01778, allocations: 0 / 0.8202 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002665/0.01805, allocations: 43.89 kB / 0.8203 GB, free: 8.137 MB / 0.7761 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.0001502/0.0182, allocations: 100.2 kB / 0.8204 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005398/0.01874, allocations: 76.19 kB / 0.8204 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01874, allocations: 0 / 0.8204 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.01884, allocations: 49.77 kB / 0.8205 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.01919, allocations: 28.38 kB / 0.8205 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.02036, allocations: 0.6056 MB / 0.8211 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.02062, allocations: 184.2 kB / 0.8213 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.743e-05/0.02069, allocations: 12.64 kB / 0.8213 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.02073, allocations: 16.5 kB / 0.8213 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.02073, allocations: 8 kB / 0.8213 GB, free: 7 MB / 0.7761 GB Notification: Performance of Templates: time 0.005713/0.02645, allocations: 1.1 MB / 0.8224 GB, free: 5.926 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.59791547700297]