Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001018/0.001018, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 8 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6724, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002419/0.6749, allocations: 1.917 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.6763, allocations: 0.8889 MB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.6765, allocations: 4 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.6766, allocations: 31.77 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.677, allocations: 115.7 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.6774, allocations: 143.7 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.678, allocations: 267.4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.6782, allocations: 81.75 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.6784, allocations: 119.6 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.6786, allocations: 115.5 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.6787, allocations: 15.94 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.6788, allocations: 31.98 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.6788, allocations: 39.83 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.6789, allocations: 73.58 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.6791, allocations: 205.4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.6792, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.065e-06/0.6792, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.6792, allocations: 3.938 kB / 1.025 GB, free: 13.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008171/0.68, allocations: 0.5298 MB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.68, allocations: 12.03 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.6801, allocations: 31.62 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.6805, allocations: 249.6 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.6805, allocations: 16.44 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.6806, allocations: 24 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.6809, allocations: 187.2 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.681, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.681, allocations: 12 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.681, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.6813, allocations: 133.7 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.6823, allocations: 0.8197 MB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.6826, allocations: 130.5 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.6826, allocations: 12.05 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6827, allocations: 34.56 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.6827, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005169/0.6832, allocations: 192.9 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6833, allocations: 59.36 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.6835, allocations: 238.6 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.6835, allocations: 25.7 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.6837, allocations: 156.2 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.6837, allocations: 51.3 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6837, allocations: 4 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6838, allocations: 330.8 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.684, allocations: 35.98 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.6841, allocations: 39.97 kB / 1.028 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.6842, allocations: 43.98 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6842, allocations: 0 / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003009/0.6845, allocations: 149.4 kB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.6846, allocations: 99.38 kB / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6846, allocations: 0 / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.6846, allocations: 3.953 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.6848, allocations: 27.98 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6848, allocations: 0 / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.6849, allocations: 27.77 kB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.685, allocations: 8 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.685, allocations: 4 kB / 1.028 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002496/0.6852, allocations: 104.8 kB / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.6853, allocations: 0 / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-06/0.6853, allocations: 0 / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.6854, allocations: 31.98 kB / 1.028 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.6854, allocations: 0 / 1.028 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6855, allocations: 16 kB / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.6855, allocations: 7.938 kB / 1.028 GB, free: 9.004 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.6856, allocations: 205.1 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.6857, allocations: 23.81 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.6861, allocations: 175.9 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6861, allocations: 4 kB / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6861, allocations: 0 / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.6861, allocations: 0 / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.6864, allocations: 285.4 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6864, allocations: 0 / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.6865, allocations: 23.98 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.6865, allocations: 0 / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.6865, allocations: 4 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6865, allocations: 0 / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6866, allocations: 3.938 kB / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.6869, allocations: 252.3 kB / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.687, allocations: 112.8 kB / 1.029 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.687, allocations: 0 / 1.029 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6872, allocations: 15.98 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.6872, allocations: 11.98 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.6872, allocations: 0 / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001589/0.6874, allocations: 174 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6874, allocations: 0 / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000446/0.6878, allocations: 103.6 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.688, allocations: 107.2 kB / 1.03 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.6885, allocations: 162.4 kB / 1.03 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6885, allocations: 0 / 1.03 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.6887, allocations: 59.97 kB / 1.03 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6891, allocations: 56.41 kB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.6898, allocations: 471.9 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.6902, allocations: 0.756 MB / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.6903, allocations: 25.52 kB / 1.031 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.6903, allocations: 19.44 kB / 1.031 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6903, allocations: 0 / 1.031 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of Templates: time 0.005691/0.696, allocations: 2.374 MB / 1.034 GB, free: 3.496 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Interior.csv","../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches