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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001048/0.001048, allocations: 98.88 kB / 16.02 MB, free: 76 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.001288/0.001288, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 12 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6405, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002507/0.643, allocations: 2.14 MB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008226/0.6439, allocations: 0.5239 MB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.644, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.6444, allocations: 123.8 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.6446, allocations: 79.41 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.6447, allocations: 35.97 kB / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.645, allocations: 238.8 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.6452, allocations: 89 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.6453, allocations: 71.67 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.6454, allocations: 91.5 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.6455, allocations: 8 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.329e-05/0.6455, allocations: 8 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.6456, allocations: 75.56 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.6457, allocations: 168.7 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.646, allocations: 251.3 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.646, allocations: 3.984 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.646, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.646, allocations: 0 / 1.027 GB, free: 11.99 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.0007172/0.6467, allocations: 0.5913 MB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6468, allocations: 8.031 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.6468, allocations: 52.38 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.6472, allocations: 298.2 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6472, allocations: 8.375 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.6472, allocations: 20.38 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.6475, allocations: 141.9 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6475, allocations: 192 / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6476, allocations: 7.938 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6476, allocations: 4 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.6478, allocations: 95.89 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.6486, allocations: 0.6011 MB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.6488, allocations: 86.62 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.649, allocations: 48.88 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.649, allocations: 0 / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.649, allocations: 34.56 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.649, allocations: 3.938 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003456/0.6494, allocations: 133.3 kB / 1.03 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6494, allocations: 59.34 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.6498, allocations: 397.9 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.6498, allocations: 29.7 kB / 1.03 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.6499, allocations: 223.9 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.65, allocations: 27.56 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.65, allocations: 17.7 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6501, allocations: 354.7 kB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.6502, allocations: 24.36 kB / 1.031 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.6503, allocations: 59.42 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.6505, allocations: 91.3 kB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6505, allocations: 0 / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002477/0.6508, allocations: 149.2 kB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6508, allocations: 6.188 kB / 1.031 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6508, allocations: 0 / 1.031 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6508, allocations: 4 kB / 1.031 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6509, allocations: 27.98 kB / 1.031 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.651, allocations: 3.938 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.651, allocations: 7.906 kB / 1.031 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.6511, allocations: 4 kB / 1.031 GB, free: 8.172 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.0001466/0.6512, allocations: 174.4 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.6513, allocations: 35.53 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.6513, allocations: 35.22 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6513, allocations: 4 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6514, allocations: 0 / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6514, allocations: 0 / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.6517, allocations: 313.4 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6517, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6518, allocations: 27.92 kB / 1.032 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6518, allocations: 4 kB / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6518, allocations: 0 / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6518, allocations: 0 / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6518, allocations: 0 / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.6522, allocations: 263 kB / 1.032 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.6523, allocations: 108.8 kB / 1.032 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.6523, allocations: 4 kB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6524, allocations: 4.062 kB / 1.032 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6525, allocations: 11.98 kB / 1.032 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.6525, allocations: 7.938 kB / 1.032 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002543/0.6527, allocations: 275.1 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6528, allocations: 0 / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002754/0.653, allocations: 51.78 kB / 1.032 GB, free: 6.785 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.0001046/0.6531, allocations: 95.25 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.6533, allocations: 83.84 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6534, allocations: 0 / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.6534, allocations: 31.98 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.6538, allocations: 23.28 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6549, allocations: 0.8467 MB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.6553, allocations: 0.7984 MB / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.6553, allocations: 11.44 kB / 1.034 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6553, allocations: 0 / 1.034 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.004759/0.6601, allocations: 3.006 MB / 1.037 GB, free: 1.855 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/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