Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.095/2.095, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.0012/0.0012, allocations: 181.2 kB / 490.8 MB, free: 1.891 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.515/1.515, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 103.8 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.014e-05, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3326, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.236, allocations: 157.5 MB / 1.365 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/1.236, allocations: 91.28 kB / 1.365 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05186/1.288, allocations: 16.09 MB / 1.381 GB, free: 15.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.16e-05/1.288, allocations: 11.58 kB / 1.381 GB, free: 15.39 MB / 0.823 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.001577/1.29, allocations: 0.6498 MB / 1.382 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.29, allocations: 7.844 kB / 1.382 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02647/1.316, allocations: 2.67 MB / 1.384 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/1.318, allocations: 0.6099 MB / 1.385 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/1.318, allocations: 10.84 kB / 1.385 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/1.318, allocations: 17.66 kB / 1.385 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/1.319, allocations: 487.7 kB / 1.386 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.321, allocations: 0.5098 MB / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.321, allocations: 0 / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/1.321, allocations: 5.281 kB / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/1.321, allocations: 5.094 kB / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/1.325, allocations: 2.957 MB / 1.389 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/1.326, allocations: 469 kB / 1.389 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/1.326, allocations: 322.3 kB / 1.39 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/1.326, allocations: 54.53 kB / 1.39 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.326, allocations: 31.97 kB / 1.39 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 3.216e-06/1.326, allocations: 4 kB / 1.39 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.006381/1.333, allocations: 1.4 MB / 1.391 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/1.333, allocations: 61.78 kB / 1.391 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/1.333, allocations: 232 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.333, allocations: 25.7 kB / 1.391 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/1.334, allocations: 174.3 kB / 1.392 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/1.334, allocations: 70.28 kB / 1.392 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.334, allocations: 0 / 1.392 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002343/1.334, allocations: 343.9 kB / 1.392 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/1.336, allocations: 0.8453 MB / 1.393 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.337, allocations: 0.9046 MB / 1.394 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.35, allocations: 2.276 MB / 1.396 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.35, allocations: 0 / 1.396 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01558/1.365, allocations: 3.338 MB / 1.399 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/1.365, allocations: 96.08 kB / 1.399 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01306/1.378, allocations: 2.908 MB / 1.402 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/1.379, allocations: 4 kB / 1.402 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/1.384, allocations: 0.5993 MB / 1.403 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.384, allocations: 0 / 1.403 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005363/1.39, allocations: 498.7 kB / 1.403 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.39, allocations: 55.61 kB / 1.403 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.39, allocations: 7.938 kB / 1.403 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01382/1.404, allocations: 3.277 MB / 1.406 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01245/1.416, allocations: 2.912 MB / 1.409 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.416, allocations: 0 / 1.409 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.422, allocations: 0.5957 MB / 1.41 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.422, allocations: 0 / 1.41 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/1.428, allocations: 491.4 kB / 1.41 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/1.428, allocations: 51.17 kB / 1.41 GB, free: 15.73 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.0005355/1.429, allocations: 123.6 kB / 1.411 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/1.429, allocations: 31.62 kB / 1.411 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005679/1.435, allocations: 1.417 MB / 1.412 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.435, allocations: 4 kB / 1.412 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.435, allocations: 0 / 1.412 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.435, allocations: 3.984 kB / 1.412 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/1.436, allocations: 0.8744 MB / 1.413 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003971/1.44, allocations: 1.084 MB / 1.414 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.442, allocations: 251.6 kB / 1.414 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.442, allocations: 0 / 1.414 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/1.442, allocations: 15.97 kB / 1.414 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.442, allocations: 8 kB / 1.414 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.442, allocations: 0 / 1.414 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004162/1.446, allocations: 1.217 MB / 1.415 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.447, allocations: 206.4 kB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.447, allocations: 0 / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.449, allocations: 183.8 kB / 1.416 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/1.449, allocations: 15.36 kB / 1.416 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/1.449, allocations: 23.03 kB / 1.416 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002697/1.45, allocations: 183.8 kB / 1.416 GB, free: 11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001631/1.451, allocations: 358.5 kB / 1.416 GB, free: 10.66 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.0007427/1.452, allocations: 272 kB / 1.417 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003526/1.456, allocations: 1.988 MB / 1.418 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.456, allocations: 0 / 1.418 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/1.456, allocations: 400.3 kB / 1.419 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/1.457, allocations: 55.97 kB / 1.419 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.459, allocations: 0.7076 MB / 1.42 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.46, allocations: 0.9352 MB / 1.42 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of SimCode: time 1.022e-06/1.46, allocations: 0 / 1.42 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of Templates: time 0.07446/1.534, allocations: 42.72 MB / 1.462 GB, free: 12.61 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches