Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") [: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.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.001028/0.001028, allocations: 177.2 kB / 316 MB, free: 3.531 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.061/1.061, allocations: 205.2 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.0009077/0.0009077, allocations: 87.3 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.572e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5766, allocations: 140.2 MB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5768, allocations: 93.06 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04256/0.6194, allocations: 15.93 MB / 1.037 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.6195, allocations: 4 kB / 1.037 GB, free: 1.336 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001061/0.6205, allocations: 0.6582 MB / 1.038 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6206, allocations: 12.03 kB / 1.038 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/0.6465, allocations: 2.662 MB / 1.04 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.6476, allocations: 0.5939 MB / 1.041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6476, allocations: 8 kB / 1.041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.6478, allocations: 19.98 kB / 1.041 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006622/0.6485, allocations: 0.4892 MB / 1.042 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/0.6492, allocations: 0.5104 MB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6492, allocations: 0 / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.6493, allocations: 3.906 kB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.6493, allocations: 4 kB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.6528, allocations: 2.969 MB / 1.045 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.6533, allocations: 465.1 kB / 1.045 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.6537, allocations: 321.8 kB / 1.046 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.6538, allocations: 46.05 kB / 1.046 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6538, allocations: 36.62 kB / 1.046 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.6539, allocations: 0 / 1.046 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22): time 0.005697/0.6596, allocations: 1.388 MB / 1.047 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6596, allocations: 55.41 kB / 1.047 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.6598, allocations: 241.7 kB / 1.047 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.66, allocations: 25.7 kB / 1.047 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.6601, allocations: 168.7 kB / 1.048 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.6602, allocations: 74.03 kB / 1.048 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6604, allocations: 0 / 1.048 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6605, allocations: 345.2 kB / 1.048 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.6617, allocations: 0.8446 MB / 1.049 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.6629, allocations: 0.9021 MB / 1.05 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.6741, allocations: 2.236 MB / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6741, allocations: 0 / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01328/0.6874, allocations: 3.304 MB / 1.055 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.6875, allocations: 98.61 kB / 1.055 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01202/0.6995, allocations: 2.891 MB / 1.058 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6995, allocations: 4 kB / 1.058 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005856/0.7054, allocations: 0.5995 MB / 1.059 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7054, allocations: 0 / 1.059 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/0.7108, allocations: 498.4 kB / 1.059 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.711, allocations: 55.47 kB / 1.059 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.711, allocations: 4 kB / 1.059 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/0.724, allocations: 3.234 MB / 1.062 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01204/0.7361, allocations: 2.883 MB / 1.065 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.7361, allocations: 0 / 1.065 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/0.7418, allocations: 0.599 MB / 1.066 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7418, allocations: 3.938 kB / 1.066 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/0.747, allocations: 0.4905 MB / 1.066 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.7472, allocations: 51.48 kB / 1.066 GB, free: 9 MB / 0.6823 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002554/0.7475, allocations: 101 kB / 1.066 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.7476, allocations: 39.53 kB / 1.066 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.7523, allocations: 1.395 MB / 1.068 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.7523, allocations: 7.906 kB / 1.068 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7523, allocations: 0 / 1.068 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7523, allocations: 3.984 kB / 1.068 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.7532, allocations: 0.8792 MB / 1.069 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003602/0.7568, allocations: 1.07 MB / 1.07 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/0.7589, allocations: 251.5 kB / 1.07 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.759, allocations: 3.906 kB / 1.07 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.759, allocations: 19.92 kB / 1.07 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.759, allocations: 4 kB / 1.07 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.759, allocations: 0 / 1.07 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00373/0.7628, allocations: 1.204 MB / 1.071 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.763, allocations: 202.3 kB / 1.071 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.7631, allocations: 3.906 kB / 1.071 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.7651, allocations: 183.8 kB / 1.071 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.7652, allocations: 23.78 kB / 1.071 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.7653, allocations: 27.72 kB / 1.071 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001375/0.7654, allocations: 173.8 kB / 1.072 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001051/0.7665, allocations: 363.2 kB / 1.072 GB, free: 3.953 MB / 0.6823 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004597/0.7669, allocations: 274.7 kB / 1.072 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.7696, allocations: 1.981 MB / 1.074 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7696, allocations: 0 / 1.074 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.7701, allocations: 400.4 kB / 1.075 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.7705, allocations: 50.14 kB / 1.075 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.772, allocations: 0.7128 MB / 1.075 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/0.7729, allocations: 0.9427 MB / 1.076 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.7729, allocations: 0 / 1.076 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of Templates: time 0.05385/0.8268, allocations: 42.73 MB / 1.118 GB, free: 5.844 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches