Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001314/0.001314, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.0013/0.0013, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8354, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003804/0.8392, allocations: 2.437 MB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.8401, allocations: 0.5377 MB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.8403, allocations: 6.719 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.8407, allocations: 124.1 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.8409, allocations: 93.44 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.841, allocations: 44.48 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.8413, allocations: 243.3 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.8416, allocations: 111.2 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.8418, allocations: 86.77 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.842, allocations: 98.2 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.842, allocations: 18.59 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.8421, allocations: 18.78 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.8422, allocations: 84.44 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.8423, allocations: 151.8 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.8427, allocations: 344.3 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8428, allocations: 0.7031 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8428, allocations: 1.062 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.8428, allocations: 0 / 1.093 GB, free: 2.715 MB / 0.8575 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.000833/0.8436, allocations: 0.649 MB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8437, allocations: 9.156 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.8438, allocations: 45.62 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.8441, allocations: 307.2 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.8441, allocations: 11.03 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.8442, allocations: 22.36 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.8445, allocations: 139.9 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.8445, allocations: 1.031 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.8445, allocations: 9.031 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.8445, allocations: 8.312 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.8448, allocations: 96.52 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.8456, allocations: 0.5811 MB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.8459, allocations: 85.64 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.846, allocations: 48.45 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.846, allocations: 1.125 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.846, allocations: 36.16 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.846, allocations: 4 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003719/0.8464, allocations: 147 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.8465, allocations: 53.91 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.8469, allocations: 392.6 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.8469, allocations: 26.31 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.8471, allocations: 221.2 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.8471, allocations: 31.28 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.8472, allocations: 31.08 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.8473, allocations: 351.7 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.8474, allocations: 25.69 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.8475, allocations: 54.25 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.8476, allocations: 97.41 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8477, allocations: 0 / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002636/0.8479, allocations: 143.2 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.848, allocations: 5.375 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.848, allocations: 1.156 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.848, allocations: 2.734 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.8481, allocations: 30.59 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8481, allocations: 6.562 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.8482, allocations: 12.08 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.8482, allocations: 2.719 kB / 1.096 GB, free: 36 kB / 0.8575 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.0001976/0.8484, allocations: 170.4 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.8485, allocations: 31.44 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.8486, allocations: 39.12 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8486, allocations: 1.812 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8486, allocations: 0.7031 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8486, allocations: 4.797 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.849, allocations: 312.4 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8491, allocations: 0.6562 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.8492, allocations: 22.33 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8492, allocations: 1.328 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.8492, allocations: 5.25 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8492, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8492, allocations: 1.156 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.8496, allocations: 253.3 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.8497, allocations: 116.6 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.8498, allocations: 10.12 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.8499, allocations: 5.859 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.8499, allocations: 5.391 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.85, allocations: 1.812 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003521/0.8503, allocations: 281.8 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8503, allocations: 0 / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003071/0.8506, allocations: 54.88 kB / 1.098 GB, free: 15.12 MB / 0.8731 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.0001389/0.8508, allocations: 98.2 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.851, allocations: 76.52 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.851, allocations: 1.125 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.8511, allocations: 31.58 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.8516, allocations: 23.41 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.8529, allocations: 0.6811 MB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.8533, allocations: 0.8021 MB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.8534, allocations: 13.91 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8534, allocations: 0.8125 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.006525/0.8599, allocations: 2.991 MB / 1.102 GB, free: 13.24 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches