Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 0.7812 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 173.3 kB / 316 MB, free: 9 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.1 MB / 0.5667 GB, free: 13.45 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008682/0.0008683, allocations: 91.59 kB / 0.671 GB, free: 51.6 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.155e-06, allocations: 0 / 0.7807 GB, free: 9.988 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 106.3 MB / 0.8846 GB, free: 89.13 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5792, allocations: 134.7 MB / 1.016 GB, free: 11.01 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5795, allocations: 91.27 kB / 1.016 GB, free: 10.92 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.008542/0.5881, allocations: 2.927 MB / 1.019 GB, free: 8.078 MB / 0.659 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.5881, allocations: 0.75 kB / 1.019 GB, free: 8.078 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004116/0.5885, allocations: 405.3 kB / 1.019 GB, free: 7.645 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5885, allocations: 9.344 kB / 1.019 GB, free: 7.637 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.5886, allocations: 12.5 kB / 1.019 GB, free: 7.625 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.5888, allocations: 207.4 kB / 1.02 GB, free: 7.383 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.5889, allocations: 4.594 kB / 1.02 GB, free: 7.379 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5889, allocations: 6.531 kB / 1.02 GB, free: 7.375 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.816e-05/0.589, allocations: 32 kB / 1.02 GB, free: 7.344 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.5891, allocations: 79.02 kB / 1.02 GB, free: 7.266 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5891, allocations: 0 / 1.02 GB, free: 7.266 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5891, allocations: 0 / 1.02 GB, free: 7.266 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5891, allocations: 4 kB / 1.02 GB, free: 7.262 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.5896, allocations: 363.8 kB / 1.02 GB, free: 6.871 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.5898, allocations: 44.61 kB / 1.02 GB, free: 6.82 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.5898, allocations: 12.92 kB / 1.02 GB, free: 6.805 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.5899, allocations: 0 / 1.02 GB, free: 6.805 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.5899, allocations: 33.56 kB / 1.02 GB, free: 6.766 MB / 0.659 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5899, allocations: 0 / 1.02 GB, free: 6.766 MB / 0.659 GB Notification: Performance of matching and sorting (n=3): time 0.0001823/0.5901, allocations: 65.67 kB / 1.02 GB, free: 6.695 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.5901, allocations: 51.41 kB / 1.02 GB, free: 6.633 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.5902, allocations: 117.2 kB / 1.02 GB, free: 6.508 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.5902, allocations: 29.64 kB / 1.02 GB, free: 6.473 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.5903, allocations: 103.9 kB / 1.021 GB, free: 6.367 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.5903, allocations: 7.812 kB / 1.021 GB, free: 6.359 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5903, allocations: 0 / 1.021 GB, free: 6.359 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.5904, allocations: 318.8 kB / 1.021 GB, free: 6.039 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.5904, allocations: 11.98 kB / 1.021 GB, free: 6.027 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.5904, allocations: 12 kB / 1.021 GB, free: 6.016 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.5905, allocations: 15.98 kB / 1.021 GB, free: 6 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5905, allocations: 0 / 1.021 GB, free: 6 MB / 0.659 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.5906, allocations: 57.59 kB / 1.021 GB, free: 5.938 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.5907, allocations: 93 kB / 1.021 GB, free: 5.84 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.5907, allocations: 3.938 kB / 1.021 GB, free: 5.836 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5907, allocations: 0 / 1.021 GB, free: 5.836 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.5908, allocations: 19.98 kB / 1.021 GB, free: 5.816 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.5908, allocations: 0 / 1.021 GB, free: 5.816 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.5909, allocations: 15.89 kB / 1.021 GB, free: 5.801 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5909, allocations: 4 kB / 1.021 GB, free: 5.797 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/0.5909, allocations: 4 kB / 1.021 GB, free: 5.793 MB / 0.659 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.65e-05/0.591, allocations: 25 kB / 1.021 GB, free: 5.77 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-07/0.591, allocations: 4 kB / 1.021 GB, free: 5.766 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.591, allocations: 3.984 kB / 1.021 GB, free: 5.762 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.5911, allocations: 12 kB / 1.021 GB, free: 5.75 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.32e-07/0.5911, allocations: 0 / 1.021 GB, free: 5.75 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.5911, allocations: 13.3 kB / 1.021 GB, free: 5.738 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.5912, allocations: 8 kB / 1.021 GB, free: 5.73 MB / 0.659 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 (4): * Single equations (assignments): 4 * 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.732e-05/0.5912, allocations: 109.8 kB / 1.021 GB, free: 5.617 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5913, allocations: 3.906 kB / 1.021 GB, free: 5.613 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.5914, allocations: 65.56 kB / 1.021 GB, free: 5.547 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5914, allocations: 4 kB / 1.021 GB, free: 5.543 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5914, allocations: 0 / 1.021 GB, free: 5.543 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5914, allocations: 0 / 1.021 GB, free: 5.543 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.5915, allocations: 162.1 kB / 1.021 GB, free: 5.348 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.5915, allocations: 0 / 1.021 GB, free: 5.348 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.5916, allocations: 23.89 kB / 1.022 GB, free: 5.324 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5916, allocations: 0 / 1.022 GB, free: 5.324 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5916, allocations: 1.875 kB / 1.022 GB, free: 5.324 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5916, allocations: 0 / 1.022 GB, free: 5.324 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5916, allocations: 0 / 1.022 GB, free: 5.324 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.206e-05/0.5917, allocations: 151.5 kB / 1.022 GB, free: 5.16 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.5918, allocations: 85.02 kB / 1.022 GB, free: 5.059 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.5918, allocations: 0 / 1.022 GB, free: 5.059 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.5919, allocations: 11.98 kB / 1.022 GB, free: 5.047 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.592, allocations: 3.938 kB / 1.022 GB, free: 5.043 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.592, allocations: 0 / 1.022 GB, free: 5.043 MB / 0.659 GB Notification: Performance of sort global known variables: time 4.973e-05/0.592, allocations: 104.3 kB / 1.022 GB, free: 4.941 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002775/0.5923, allocations: 47.84 kB / 1.022 GB, free: 4.895 MB / 0.659 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 (3): * Single equations (assignments): 3 * 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.0001305/0.5924, allocations: 103.2 kB / 1.022 GB, free: 4.785 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.5925, allocations: 39.94 kB / 1.022 GB, free: 4.746 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5926, allocations: 0 / 1.022 GB, free: 4.746 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.5926, allocations: 11.94 kB / 1.022 GB, free: 4.734 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5928, allocations: 17.02 kB / 1.022 GB, free: 4.719 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.593, allocations: 103.5 kB / 1.022 GB, free: 4.594 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.5933, allocations: 0.711 MB / 1.023 GB, free: 3.859 MB / 0.659 GB Notification: Performance of SimCode: time 2.9e-07/0.5933, allocations: 0 / 1.023 GB, free: 3.859 MB / 0.659 GB Notification: Performance of Templates: time 0.002925/0.5962, allocations: 1.073 MB / 1.024 GB, free: 2.844 MB / 0.659 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches