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.0008377/0.0008374, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006029/0.006029, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.692/2.692, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005308, allocations: 11.98 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8312, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002802/0.8341, allocations: 2.136 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.8349, allocations: 0.5161 MB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.835, allocations: 4 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.8354, allocations: 123.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.8355, allocations: 83.39 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.8357, allocations: 35.97 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.8359, allocations: 238.8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.8361, allocations: 92.98 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.8363, allocations: 71.67 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.8364, allocations: 83.52 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.8365, allocations: 12 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.8365, allocations: 11.94 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.8366, allocations: 75.69 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.8368, allocations: 160.7 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.837, allocations: 322.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8371, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8371, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8371, allocations: 0 / 1.027 GB, free: 11.88 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.0008335/0.8379, allocations: 0.5952 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.838, allocations: 8.031 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.838, allocations: 48.36 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.8384, allocations: 298.2 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.8385, allocations: 12.38 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.8385, allocations: 16.38 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.8388, allocations: 138 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.8388, allocations: 192 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.8389, allocations: 11.94 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8389, allocations: 15.91 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.8391, allocations: 91.95 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000847/0.84, allocations: 0.5933 MB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.8402, allocations: 86.66 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.8404, allocations: 44.84 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.8404, allocations: 8 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8404, allocations: 34.5 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.8404, allocations: 0 / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003682/0.8408, allocations: 137.5 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.8408, allocations: 59.41 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.8412, allocations: 382 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.8413, allocations: 37.64 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.8415, allocations: 223.9 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.8415, allocations: 31.55 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.8415, allocations: 17.72 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8417, allocations: 350.7 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.8418, allocations: 27.98 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.8419, allocations: 51.42 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.8421, allocations: 95.36 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8421, allocations: 3.938 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002468/0.8424, allocations: 145.2 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8424, allocations: 8.094 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8424, allocations: 4 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8424, allocations: 0 / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.8425, allocations: 27.92 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8426, allocations: 4 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.8427, allocations: 11.89 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8427, allocations: 4 kB / 1.03 GB, free: 8.059 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.0001535/0.8428, allocations: 166.3 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.8429, allocations: 35.53 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.843, allocations: 43.2 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.843, allocations: 0 / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.843, allocations: 0 / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.843, allocations: 4 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.8434, allocations: 313.4 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8434, allocations: 4 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.8435, allocations: 19.92 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8435, allocations: 8.094 kB / 1.031 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.8435, allocations: 3.938 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8435, allocations: 0 / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8435, allocations: 7.984 kB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.8439, allocations: 254.9 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.844, allocations: 108.8 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.844, allocations: 0 / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.8441, allocations: 7.984 kB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.8442, allocations: 8 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.8442, allocations: 4.062 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002684/0.8445, allocations: 279.1 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8445, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002789/0.8448, allocations: 51.78 kB / 1.032 GB, free: 6.672 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.000133/0.8449, allocations: 95.25 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.8451, allocations: 79.84 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8451, allocations: 192 / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.8452, allocations: 35.98 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.8456, allocations: 27.89 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.8468, allocations: 0.8019 MB / 1.033 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.8472, allocations: 0.7961 MB / 1.033 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.8473, allocations: 16.59 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.8473, allocations: 11.44 kB / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8473, allocations: 0 / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of Templates: time 0.00471/0.8521, allocations: 1.186 MB / 1.035 GB, free: 3.578 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=480 -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