Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.967/1.967, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 181.2 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 99.47 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.994e-06/7.004e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/0.9489, allocations: 152.1 MB / 1.354 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.9493, allocations: 78.92 kB / 1.354 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02392/0.9732, allocations: 7.945 MB / 1.362 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.9733, allocations: 7.516 kB / 1.362 GB, free: 14.43 MB / 0.8073 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.0005874/0.9739, allocations: 0.5085 MB / 1.362 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.9739, allocations: 11.97 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.974, allocations: 36.42 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.9744, allocations: 293 kB / 1.362 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9744, allocations: 4 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.9744, allocations: 12 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002005/0.9746, allocations: 102.3 kB / 1.363 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.9749, allocations: 139.4 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9749, allocations: 4 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.9749, allocations: 0 / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.9749, allocations: 4 kB / 1.363 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.9758, allocations: 0.7715 MB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.976, allocations: 111.7 kB / 1.364 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.9761, allocations: 44.38 kB / 1.364 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.9761, allocations: 0.6562 kB / 1.364 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.9762, allocations: 38.5 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.9762, allocations: 4 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0003429/0.9765, allocations: 128.3 kB / 1.364 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.9765, allocations: 51.41 kB / 1.364 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.9767, allocations: 177 kB / 1.364 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.9767, allocations: 29.64 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.9768, allocations: 136.9 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9768, allocations: 41.84 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.9768, allocations: 0 / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.9769, allocations: 332.3 kB / 1.364 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/0.9769, allocations: 27.5 kB / 1.364 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.977, allocations: 20 kB / 1.365 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.9771, allocations: 40.53 kB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9771, allocations: 0 / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002288/0.9773, allocations: 127.2 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.9774, allocations: 90.31 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.9774, allocations: 0.6562 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9774, allocations: 4 kB / 1.365 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.9776, allocations: 37.61 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9776, allocations: 7.938 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.9777, allocations: 15.8 kB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.9777, allocations: 8.609 kB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-06/0.9778, allocations: 4 kB / 1.365 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001719/0.9779, allocations: 67.52 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.9779, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.9779, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.9781, allocations: 31.97 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-06/0.9781, allocations: 0 / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.9782, allocations: 23.83 kB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.9782, allocations: 11.38 kB / 1.365 GB, free: 11.37 MB / 0.8073 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 5.073e-05/0.9783, allocations: 101 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.9783, allocations: 23.72 kB / 1.365 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.9786, allocations: 128.5 kB / 1.365 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9786, allocations: 0 / 1.365 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9786, allocations: 4 kB / 1.365 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9786, allocations: 0 / 1.365 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.9788, allocations: 232.8 kB / 1.365 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9788, allocations: 0 / 1.365 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.9789, allocations: 35.73 kB / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9789, allocations: 0 / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9789, allocations: 4 kB / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.979, allocations: 4 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.979, allocations: 7.984 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002105/0.9792, allocations: 216.9 kB / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.9792, allocations: 103.9 kB / 1.366 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.9793, allocations: 0 / 1.366 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.9794, allocations: 19.73 kB / 1.366 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.9795, allocations: 11.98 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.9795, allocations: 4 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.03e-05/0.9796, allocations: 141.4 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003542/0.9799, allocations: 103.5 kB / 1.366 GB, free: 10.28 MB / 0.8073 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.0001381/0.9801, allocations: 111.9 kB / 1.366 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.9803, allocations: 109.4 kB / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.9803, allocations: 0 / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.9803, allocations: 42.69 kB / 1.366 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.9807, allocations: 35.78 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.9811, allocations: 233.3 kB / 1.367 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.9813, allocations: 0.7709 MB / 1.367 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.9813, allocations: 0 / 1.367 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.005086/0.9864, allocations: 2.582 MB / 1.37 GB, free: 6.445 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches