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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001115/0.001115, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.762/1.762, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001061/0.001061, allocations: 100.7 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.71e-05/5.747e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.462, allocations: 157.5 MB / 1.366 GB, free: 18.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.463, allocations: 93.53 kB / 1.366 GB, free: 18.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04195/1.505, allocations: 16.61 MB / 1.382 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.505, allocations: 0 / 1.382 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.257e-05/1.505, allocations: 7.719 kB / 1.382 GB, free: 32.02 MB / 0.8386 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.001009/1.506, allocations: 0.651 MB / 1.383 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.506, allocations: 7.688 kB / 1.383 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09326/1.599, allocations: 11.06 MB / 1.394 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/1.615, allocations: 2.493 MB / 1.396 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/1.615, allocations: 21.75 kB / 1.396 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/1.616, allocations: 29.81 kB / 1.396 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/1.618, allocations: 0.9548 MB / 1.397 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.618, allocations: 0 / 1.397 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.618, allocations: 10.81 kB / 1.397 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.618, allocations: 8 kB / 1.397 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.619, allocations: 0.709 MB / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006239/1.625, allocations: 5.476 MB / 1.403 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.626, allocations: 0.6775 MB / 1.404 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/1.627, allocations: 0.5273 MB / 1.405 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/1.627, allocations: 34.78 kB / 1.405 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.627, allocations: 41.88 kB / 1.405 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 3.246e-06/1.627, allocations: 0 / 1.405 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.002282/1.63, allocations: 1.11 MB / 1.406 GB, free: 17.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.63, allocations: 55.41 kB / 1.406 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/1.63, allocations: 289.1 kB / 1.406 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/1.63, allocations: 29.7 kB / 1.406 GB, free: 16.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.631, allocations: 200.9 kB / 1.406 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.631, allocations: 81.16 kB / 1.406 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/1.631, allocations: 3.938 kB / 1.406 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.631, allocations: 344.9 kB / 1.407 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.632, allocations: 1.058 MB / 1.408 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/1.634, allocations: 1.136 MB / 1.409 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/1.636, allocations: 0.8986 MB / 1.41 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.636, allocations: 4 kB / 1.41 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004175/1.64, allocations: 2.235 MB / 1.412 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.64, allocations: 189.6 kB / 1.412 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003248/1.643, allocations: 1.872 MB / 1.414 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.643, allocations: 0 / 1.414 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008826/1.652, allocations: 0.9431 MB / 1.415 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/1.652, allocations: 7.984 kB / 1.415 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008369/1.66, allocations: 0.8012 MB / 1.416 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/1.661, allocations: 71.06 kB / 1.416 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.661, allocations: 4 kB / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004733/1.666, allocations: 2.177 MB / 1.418 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003465/1.669, allocations: 1.86 MB / 1.42 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.669, allocations: 4 kB / 1.42 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008886/1.678, allocations: 0.9486 MB / 1.421 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.678, allocations: 0 / 1.421 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008323/1.686, allocations: 0.8015 MB / 1.421 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/1.687, allocations: 70.81 kB / 1.421 GB, free: 5.801 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0005512/1.688, allocations: 118.4 kB / 1.422 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.688, allocations: 31.62 kB / 1.422 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.692, allocations: 1.366 MB / 1.423 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.692, allocations: 4 kB / 1.423 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.692, allocations: 3.984 kB / 1.423 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.692, allocations: 3.953 kB / 1.423 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/1.693, allocations: 1.085 MB / 1.424 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001403/1.695, allocations: 0.7624 MB / 1.425 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/1.698, allocations: 332.8 kB / 1.425 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.698, allocations: 0 / 1.425 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/1.698, allocations: 28.89 kB / 1.425 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.698, allocations: 4 kB / 1.425 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.698, allocations: 3.953 kB / 1.425 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/1.699, allocations: 0.9033 MB / 1.426 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/1.7, allocations: 235.6 kB / 1.426 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.7, allocations: 7.672 kB / 1.426 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.703, allocations: 238.8 kB / 1.426 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/1.703, allocations: 27.92 kB / 1.426 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.703, allocations: 34.83 kB / 1.426 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000268/1.703, allocations: 219.6 kB / 1.427 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.703, allocations: 0 / 1.427 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001706/1.705, allocations: 382.2 kB / 1.427 GB, free: 1.109 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 (36): * Single equations (assignments): 36 * 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.0004923/1.705, allocations: 198.7 kB / 1.427 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004451/1.71, allocations: 2.407 MB / 1.43 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.71, allocations: 0 / 1.43 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006941/1.71, allocations: 426.3 kB / 1.43 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/1.711, allocations: 71.05 kB / 1.43 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/1.712, allocations: 0.6721 MB / 1.431 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.713, allocations: 0.8044 MB / 1.431 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004595/1.717, allocations: 0.7305 MB / 1.432 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/1.718, allocations: 130.4 kB / 1.432 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/1.718, allocations: 0 / 1.432 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.06676/1.785, allocations: 38.44 MB / 1.47 GB, free: 6.473 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