Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 173.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000827/0.000827, allocations: 74.42 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.256e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5747, allocations: 135.6 MB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.5749, allocations: 81.77 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02104/0.596, allocations: 7.905 MB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.596, allocations: 8 kB / 1.025 GB, free: 12.38 MB / 0.6511 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.0005408/0.5966, allocations: 0.5005 MB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5966, allocations: 12.02 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.5967, allocations: 35.53 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.597, allocations: 296.8 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5971, allocations: 4 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.5971, allocations: 16 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001883/0.5973, allocations: 95.42 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.5975, allocations: 139.1 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5975, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5975, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5976, allocations: 4 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.5984, allocations: 0.7726 MB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.5986, allocations: 109.5 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.5987, allocations: 50.28 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.5987, allocations: 4 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.5987, allocations: 37.81 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.5987, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003185/0.5991, allocations: 121.8 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.5991, allocations: 51.41 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5993, allocations: 177.1 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5993, allocations: 29.64 kB / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.5993, allocations: 142.2 kB / 1.027 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.5994, allocations: 44.8 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.5994, allocations: 0 / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.5995, allocations: 325.6 kB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.5995, allocations: 23.06 kB / 1.028 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.5996, allocations: 22.94 kB / 1.028 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.5997, allocations: 41.45 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5997, allocations: 0 / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002246/0.5999, allocations: 124.5 kB / 1.028 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.6, allocations: 97.94 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6, allocations: 0 / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6, allocations: 7.906 kB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.6002, allocations: 23.98 kB / 1.028 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6002, allocations: 7.938 kB / 1.028 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.6003, allocations: 15.98 kB / 1.028 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.6004, allocations: 7.984 kB / 1.028 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-06/0.6004, allocations: 4 kB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001786/0.6005, allocations: 76.77 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.6006, allocations: 0 / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-06/0.6006, allocations: 0 / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6007, allocations: 35.89 kB / 1.028 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.6007, allocations: 0 / 1.028 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.6008, allocations: 19.91 kB / 1.028 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.6008, allocations: 4 kB / 1.028 GB, free: 9.043 MB / 0.6511 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 () * 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 6.022e-05/0.6009, allocations: 112.1 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.601, allocations: 23.81 kB / 1.028 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.6012, allocations: 133.5 kB / 1.028 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6012, allocations: 0 / 1.028 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6012, allocations: 3.906 kB / 1.028 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.6013, allocations: 3.984 kB / 1.028 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.6015, allocations: 224 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6015, allocations: 0 / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.6016, allocations: 35.14 kB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6016, allocations: 4 kB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6016, allocations: 0 / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.6016, allocations: 11.88 kB / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6017, allocations: 0 / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002506/0.6019, allocations: 223.4 kB / 1.029 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.602, allocations: 104.8 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.602, allocations: 3.984 kB / 1.029 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.6022, allocations: 19.89 kB / 1.029 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.6022, allocations: 4 kB / 1.029 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.6022, allocations: 4 kB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.25e-05/0.6023, allocations: 142.9 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003519/0.6027, allocations: 103.5 kB / 1.029 GB, free: 7.934 MB / 0.6511 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 () * 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.0001382/0.6028, allocations: 115.2 kB / 1.029 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.603, allocations: 109.1 kB / 1.029 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.603, allocations: 0 / 1.029 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.6031, allocations: 34.12 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.6034, allocations: 31.47 kB / 1.03 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.6038, allocations: 241 kB / 1.03 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.6041, allocations: 0.7785 MB / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.6042, allocations: 0 / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of Templates: time 0.005059/0.6092, allocations: 2.582 MB / 1.033 GB, free: 4.09 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Convection_Examples_Interior.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches