Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001723/0.001723, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001924/0.001924, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.57/1.57, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002003, allocations: 67.98 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004131/0.3552, allocations: 2.449 MB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.3562, allocations: 0.5315 MB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.3563, allocations: 4 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.3567, allocations: 131.7 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.3569, allocations: 87.27 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.357, allocations: 43.95 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3573, allocations: 250.7 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.3575, allocations: 111.3 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3577, allocations: 79.72 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3578, allocations: 103.4 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.3579, allocations: 20 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.3579, allocations: 20 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3581, allocations: 79.69 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.3582, allocations: 159 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3585, allocations: 326.7 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3586, allocations: 4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3586, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3586, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 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.0009136/0.3595, allocations: 0.6476 MB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3595, allocations: 8.922 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.3596, allocations: 40.47 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.36, allocations: 302.1 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3601, allocations: 16.38 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.3601, allocations: 12.38 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.3604, allocations: 147.4 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3604, allocations: 192 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3605, allocations: 19.94 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.3605, allocations: 4 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.3607, allocations: 87.95 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.3616, allocations: 0.5972 MB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3619, allocations: 86.66 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.362, allocations: 52.78 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.362, allocations: 4 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3621, allocations: 30.56 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3621, allocations: 0 / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0003773/0.3624, allocations: 149.1 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3625, allocations: 55.41 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.3629, allocations: 390 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3629, allocations: 29.7 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3631, allocations: 212 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3632, allocations: 35.53 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3632, allocations: 25.72 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3634, allocations: 354.7 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.3635, allocations: 27.92 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.3636, allocations: 59.42 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3638, allocations: 83.36 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3638, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002584/0.3641, allocations: 153.1 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3641, allocations: 8.094 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3641, allocations: 0 / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3641, allocations: 4 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3642, allocations: 27.92 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3643, allocations: 480 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.3643, allocations: 11.84 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3644, allocations: 8 kB / 1.026 GB, free: 2.309 MB / 0.795 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.0001547/0.3645, allocations: 161.7 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.3646, allocations: 35.62 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.3647, allocations: 43.16 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3647, allocations: 0 / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3647, allocations: 0 / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3647, allocations: 0 / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.365, allocations: 313.4 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.365, allocations: 0 / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3652, allocations: 19.98 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3652, allocations: 0 / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3652, allocations: 4 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3652, allocations: 0 / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3652, allocations: 4 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3656, allocations: 258.9 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3657, allocations: 112.7 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3657, allocations: 4 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3659, allocations: 8 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3659, allocations: 3.984 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3659, allocations: 4.062 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002961/0.3662, allocations: 287.1 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3662, allocations: 0 / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002806/0.3665, allocations: 43.78 kB / 1.027 GB, free: 0.9414 MB / 0.795 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.0001312/0.3667, allocations: 111.2 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.3669, allocations: 71.91 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3669, allocations: 3.938 kB / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.367, allocations: 48.39 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3674, allocations: 21.69 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3685, allocations: 0.6983 MB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.369, allocations: 0.7951 MB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.369, allocations: 15.44 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3691, allocations: 4 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.005421/0.3745, allocations: 2.99 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches