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.001818/0.001818, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 197.6 kB / 16.53 MB, free: 6.672 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.58/1.58, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.926/2.926, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 68.08 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6596, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004489/0.6641, allocations: 2.443 MB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.6652, allocations: 0.5353 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.6653, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.6658, allocations: 119.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.666, allocations: 91.27 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.6661, allocations: 47.89 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.6664, allocations: 246.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.6666, allocations: 113.1 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.6668, allocations: 83.66 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.6669, allocations: 99.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.667, allocations: 20 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.667, allocations: 16 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.6672, allocations: 83.69 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.6674, allocations: 158.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.6677, allocations: 330.7 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6677, allocations: 3.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6677, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6677, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 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.0009528/0.6687, allocations: 0.6533 MB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6687, allocations: 8.031 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.6688, allocations: 44.47 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.6693, allocations: 302.1 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.6693, allocations: 16.38 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.6693, allocations: 16.38 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.6696, allocations: 141.9 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6697, allocations: 4.125 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.6697, allocations: 7.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6697, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.67, allocations: 95.89 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.6709, allocations: 0.5856 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.6712, allocations: 94.61 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.6713, allocations: 44.89 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6714, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6714, allocations: 34.56 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.6714, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004107/0.6718, allocations: 145.2 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.6719, allocations: 55.41 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.6724, allocations: 393.9 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6724, allocations: 29.64 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.6726, allocations: 216 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.6727, allocations: 31.55 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.6727, allocations: 29.7 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6729, allocations: 346.8 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.673, allocations: 27.98 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.6732, allocations: 59.41 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.6733, allocations: 87.36 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6734, allocations: 384 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002789/0.6736, allocations: 157 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6737, allocations: 8 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6737, allocations: 3.938 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.6737, allocations: 3.984 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.6738, allocations: 23.98 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6739, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.6739, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.674, allocations: 8 kB / 1.025 GB, free: 10.24 MB / 0.7794 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.0001803/0.6741, allocations: 165.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.6742, allocations: 35.53 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.6743, allocations: 43.2 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6743, allocations: 0 / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6743, allocations: 0 / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6743, allocations: 0 / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.6747, allocations: 317.4 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.6748, allocations: 0 / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.6749, allocations: 19.98 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6749, allocations: 4 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6749, allocations: 0 / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.6749, allocations: 8 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6749, allocations: 3.938 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.6754, allocations: 254.9 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.6755, allocations: 112.7 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.6755, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.6756, allocations: 12.05 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.6757, allocations: 4 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.6757, allocations: 4 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003239/0.676, allocations: 279.1 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.676, allocations: 0 / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002867/0.6763, allocations: 47.97 kB / 1.026 GB, free: 8.867 MB / 0.7794 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.0001579/0.6765, allocations: 103.2 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.6768, allocations: 87.91 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6768, allocations: 0 / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.6769, allocations: 31.98 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.6773, allocations: 25.53 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.6785, allocations: 0.6534 MB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.679, allocations: 0.7993 MB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.193e-05/0.6791, allocations: 4.656 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.6792, allocations: 23.38 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6792, allocations: 0 / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of Templates: time 0.005227/0.6844, allocations: 1.268 MB / 1.029 GB, free: 5.828 MB / 0.7794 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/jenkins/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