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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001385/0.001385, allocations: 193.7 kB / 16.14 MB, free: 6.676 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.542/1.542, allocations: 222.9 MB / 239.8 MB, free: 4.387 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.845/2.845, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7185, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004545/0.7231, allocations: 2.5 MB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.7244, allocations: 0.516 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.7245, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.725, allocations: 119.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.7252, allocations: 87.39 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.7254, allocations: 35.97 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.7256, allocations: 230.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.7259, allocations: 100.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.726, allocations: 75.67 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.7262, allocations: 103.5 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.7262, allocations: 15.94 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.7263, allocations: 16 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7264, allocations: 75.69 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.7266, allocations: 151 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.7269, allocations: 326.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7269, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7269, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.7269, allocations: 0 / 1.021 GB, free: 14.39 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.001004/0.728, allocations: 0.6455 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.728, allocations: 8.031 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.7281, allocations: 48.47 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.7285, allocations: 302.1 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.7286, allocations: 12.38 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.7286, allocations: 12.38 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.7289, allocations: 141.9 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.729, allocations: 192 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.729, allocations: 19.88 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.729, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.7293, allocations: 95.95 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.7305, allocations: 0.5895 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.7308, allocations: 82.62 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.7309, allocations: 48.88 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.7309, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.731, allocations: 46.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.731, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004581/0.7314, allocations: 141.5 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.7315, allocations: 51.41 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.732, allocations: 393.9 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.732, allocations: 29.7 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.7322, allocations: 220 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.7323, allocations: 31.56 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.7323, allocations: 29.7 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.7325, allocations: 350.7 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.7326, allocations: 27.98 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.7328, allocations: 51.42 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.7329, allocations: 91.36 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7329, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002593/0.7332, allocations: 149 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7332, allocations: 8 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7333, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7333, allocations: 4.094 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.7334, allocations: 31.92 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7334, allocations: 4 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.7335, allocations: 4 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7335, allocations: 4 kB / 1.024 GB, free: 10.52 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.000171/0.7337, allocations: 165.7 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.7338, allocations: 35.53 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.7339, allocations: 43.22 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7339, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7339, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7339, allocations: 4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.7342, allocations: 309.6 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7343, allocations: 0 / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.7344, allocations: 31.86 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.7344, allocations: 4 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7344, allocations: 4 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7344, allocations: 0 / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7344, allocations: 0 / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.7348, allocations: 262.9 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.7349, allocations: 112.7 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.735, allocations: 0 / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7351, allocations: 4 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.7352, allocations: 15.97 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.7352, allocations: 0 / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003009/0.7355, allocations: 283.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7355, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002911/0.7358, allocations: 51.78 kB / 1.026 GB, free: 9.125 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.0001499/0.7359, allocations: 95.78 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.7362, allocations: 79.84 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7362, allocations: 0 / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.7363, allocations: 32.17 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.7367, allocations: 27.23 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.7381, allocations: 0.7677 MB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.7386, allocations: 0.7961 MB / 1.027 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.831e-05/0.7387, allocations: 16.62 kB / 1.027 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.7388, allocations: 15.44 kB / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7388, allocations: 0 / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.005437/0.7442, allocations: 1.194 MB / 1.029 GB, free: 6.055 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