Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.951/1.951, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001021/0.001021, allocations: 181.2 kB / 487 MB, free: 5.309 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.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.001149/0.001149, allocations: 97.95 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.955e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3003, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8852/1.186, allocations: 156.7 MB / 1.358 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/1.186, allocations: 88.03 kB / 1.358 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04223/1.228, allocations: 16.11 MB / 1.374 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.045e-05/1.228, allocations: 8 kB / 1.374 GB, free: 4.531 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009203/1.229, allocations: 0.6425 MB / 1.375 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.229, allocations: 9.031 kB / 1.375 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/1.255, allocations: 2.662 MB / 1.377 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.256, allocations: 0.6078 MB / 1.378 GB, free: 0.7305 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.256, allocations: 8 kB / 1.378 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.256, allocations: 16 kB / 1.378 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006729/1.257, allocations: 496.5 kB / 1.378 GB, free: 440 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/1.258, allocations: 0.5169 MB / 1.379 GB, free: 56 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.258, allocations: 0 / 1.379 GB, free: 56 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/1.258, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/1.258, allocations: 4 kB / 1.379 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/1.262, allocations: 2.953 MB / 1.382 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/1.262, allocations: 470.3 kB / 1.382 GB, free: 13.12 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/1.263, allocations: 325.1 kB / 1.383 GB, free: 12.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.263, allocations: 46.27 kB / 1.383 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.263, allocations: 30.78 kB / 1.383 GB, free: 12.88 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/1.263, allocations: 4 kB / 1.383 GB, free: 12.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.006014/1.269, allocations: 1.399 MB / 1.384 GB, free: 11.76 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.269, allocations: 59.34 kB / 1.384 GB, free: 11.69 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.269, allocations: 238.2 kB / 1.384 GB, free: 11.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/1.269, allocations: 25.7 kB / 1.384 GB, free: 11.46 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/1.27, allocations: 172.8 kB / 1.384 GB, free: 11.31 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/1.27, allocations: 69.7 kB / 1.385 GB, free: 11.25 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.27, allocations: 7.938 kB / 1.385 GB, free: 11.24 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.27, allocations: 341.1 kB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.271, allocations: 0.8405 MB / 1.386 GB, free: 10.45 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.273, allocations: 0.9059 MB / 1.387 GB, free: 9.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.284, allocations: 2.279 MB / 1.389 GB, free: 8.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/1.284, allocations: 0 / 1.389 GB, free: 8.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01424/1.298, allocations: 3.336 MB / 1.392 GB, free: 5.457 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.827e-05/1.299, allocations: 94.64 kB / 1.392 GB, free: 5.359 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01221/1.311, allocations: 2.914 MB / 1.395 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.311, allocations: 4 kB / 1.395 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/1.317, allocations: 0.6 MB / 1.396 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.317, allocations: 4 kB / 1.396 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.322, allocations: 0.4909 MB / 1.396 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.322, allocations: 51.17 kB / 1.396 GB, free: 1.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.322, allocations: 10.81 kB / 1.396 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01368/1.336, allocations: 3.262 MB / 1.399 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01208/1.348, allocations: 2.914 MB / 1.402 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.348, allocations: 4 kB / 1.402 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/1.353, allocations: 0.5929 MB / 1.403 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.353, allocations: 0 / 1.403 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.359, allocations: 495.3 kB / 1.403 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.359, allocations: 55.48 kB / 1.403 GB, free: 12.06 MB / 0.8386 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.0003756/1.359, allocations: 108.8 kB / 1.403 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.359, allocations: 31.62 kB / 1.403 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/1.364, allocations: 1.417 MB / 1.405 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/1.364, allocations: 4 kB / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.364, allocations: 3.938 kB / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/1.364, allocations: 0 / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/1.365, allocations: 0.8803 MB / 1.406 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003708/1.369, allocations: 1.081 MB / 1.407 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.371, allocations: 255.4 kB / 1.407 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.371, allocations: 0 / 1.407 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.371, allocations: 19.97 kB / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.371, allocations: 0 / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.371, allocations: 0 / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003979/1.375, allocations: 1.218 MB / 1.408 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/1.376, allocations: 204.6 kB / 1.408 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.376, allocations: 0 / 1.408 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.378, allocations: 183.8 kB / 1.409 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/1.378, allocations: 19.09 kB / 1.409 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/1.378, allocations: 23.41 kB / 1.409 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002289/1.378, allocations: 181.5 kB / 1.409 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001333/1.379, allocations: 361.3 kB / 1.409 GB, free: 6.984 MB / 0.8386 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.0005418/1.38, allocations: 267.4 kB / 1.409 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.383, allocations: 1.981 MB / 1.411 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.383, allocations: 0 / 1.411 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005164/1.383, allocations: 407.2 kB / 1.412 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/1.384, allocations: 55.09 kB / 1.412 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/1.386, allocations: 0.7091 MB / 1.412 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.387, allocations: 0.939 MB / 1.413 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/1.387, allocations: 0 / 1.413 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of Templates: time 0.06849/1.455, allocations: 42.73 MB / 1.455 GB, free: 8.922 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches