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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008318/0.008318, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.44 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004227/0.3309, allocations: 2.846 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004445/0.3354, allocations: 2.953 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3356, allocations: 4 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.3359, allocations: 79.28 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.3365, allocations: 214.5 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3379, allocations: 0.6131 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.3385, allocations: 0.5252 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3388, allocations: 111.2 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.3391, allocations: 203.3 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3393, allocations: 223.1 kB / 1.096 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.3394, allocations: 36 kB / 1.096 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.3401, allocations: 391.6 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.3402, allocations: 91.67 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3404, allocations: 215 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009482/0.3413, allocations: 0.7395 MB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3413, allocations: 0 / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3413, allocations: 4 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3414, allocations: 0 / 1.097 GB, free: 8.23 MB / 0.8575 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.001196/0.3426, allocations: 0.7586 MB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3426, allocations: 15.97 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09778/0.4404, allocations: 12.21 MB / 1.11 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.4427, allocations: 0.9249 MB / 1.111 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.4428, allocations: 20.94 kB / 1.111 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005298/0.4433, allocations: 28.38 kB / 1.111 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.4589, allocations: 3.742 MB / 1.114 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4589, allocations: 0 / 1.114 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.4592, allocations: 8 kB / 1.114 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.4593, allocations: 8 kB / 1.114 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4735, allocations: 2.969 MB / 1.117 GB, free: 3.426 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.4902, allocations: 17.15 MB / 1.134 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.5044, allocations: 2.938 MB / 1.137 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01446/0.5189, allocations: 2.788 MB / 1.139 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.5191, allocations: 31.98 kB / 1.14 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5191, allocations: 34.56 kB / 1.14 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.444e-06/0.5192, allocations: 0 / 1.14 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.0448/0.564, allocations: 8.55 MB / 1.148 GB, free: 336 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.5641, allocations: 51.41 kB / 1.148 GB, free: 272 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.5646, allocations: 349.7 kB / 1.148 GB, free: 15.92 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008669/0.5655, allocations: 29.7 kB / 1.148 GB, free: 15.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.5659, allocations: 204.7 kB / 1.148 GB, free: 15.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/0.5665, allocations: 75.33 kB / 1.149 GB, free: 15.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.5685, allocations: 480.8 kB / 1.149 GB, free: 15.12 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5687, allocations: 350.8 kB / 1.149 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02076/0.5895, allocations: 3.893 MB / 1.153 GB, free: 10.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02073/0.6102, allocations: 3.927 MB / 1.157 GB, free: 6.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03357/0.6438, allocations: 6.203 MB / 1.163 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.6439, allocations: 0 / 1.163 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0442/0.6881, allocations: 8.049 MB / 1.171 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.6881, allocations: 4 kB / 1.171 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03739/0.7255, allocations: 7.279 MB / 1.178 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.7256, allocations: 4 kB / 1.178 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/0.7403, allocations: 1.916 MB / 1.18 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.7404, allocations: 8 kB / 1.18 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/0.7538, allocations: 1.506 MB / 1.181 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009622/0.7548, allocations: 207.5 kB / 1.182 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02023/0.775, allocations: 3.981 MB / 1.185 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0202/0.7953, allocations: 3.926 MB / 1.189 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03389/0.8292, allocations: 6.203 MB / 1.195 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/0.8292, allocations: 0 / 1.195 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04272/0.872, allocations: 8.029 MB / 1.203 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.872, allocations: 8 kB / 1.203 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03754/0.9096, allocations: 7.264 MB / 1.21 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9096, allocations: 4 kB / 1.21 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/0.9246, allocations: 1.919 MB / 1.212 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.9247, allocations: 0 / 1.212 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/0.9383, allocations: 1.502 MB / 1.214 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.9394, allocations: 203.5 kB / 1.214 GB, free: 12.64 MB / 0.9825 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.9407, allocations: 196.1 kB / 1.214 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/0.9414, allocations: 35.77 kB / 1.214 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03228/0.9737, allocations: 6.696 MB / 1.221 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.9738, allocations: 8 kB / 1.221 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9738, allocations: 0 / 1.221 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.9738, allocations: 3.984 kB / 1.221 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.9793, allocations: 6.495 MB / 1.227 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02953/1.009, allocations: 5.622 MB / 1.232 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01291/1.022, allocations: 1.627 MB / 1.234 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/1.022, allocations: 8 kB / 1.234 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006444/1.023, allocations: 175.5 kB / 1.234 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/1.023, allocations: 4 kB / 1.234 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.023, allocations: 3.938 kB / 1.234 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03008/1.053, allocations: 5.779 MB / 1.24 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.054, allocations: 0.5625 MB / 1.24 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000619/1.055, allocations: 7.984 kB / 1.24 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/1.066, allocations: 1.253 MB / 1.242 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.066, allocations: 43.91 kB / 1.242 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007251/1.067, allocations: 175.5 kB / 1.242 GB, free: 14.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003467/1.068, allocations: 235.2 kB / 1.242 GB, free: 14.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.068, allocations: 0 / 1.242 GB, free: 14.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003427/1.071, allocations: 0.5934 MB / 1.243 GB, free: 13.56 MB / 1.014 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000745/1.072, allocations: 178.8 kB / 1.243 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0525/1.124, allocations: 10.28 MB / 1.253 GB, free: 3.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.124, allocations: 4 kB / 1.253 GB, free: 3.086 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.015/1.139, allocations: 2.903 MB / 1.256 GB, free: 184 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.141, allocations: 93.38 kB / 1.256 GB, free: 92 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5785/1.72, allocations: 3.223 MB / 1.259 GB, free: 170.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.72, allocations: 0.7929 MB / 1.26 GB, free: 169.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.008242/1.728, allocations: 1.64 MB / 1.261 GB, free: 168.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/1.731, allocations: 0.5019 MB / 1.262 GB, free: 168.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.463e-06/1.731, allocations: 0.8438 kB / 1.262 GB, free: 168.9 MB / 1.014 GB Notification: Performance of Templates: time 0.1248/1.856, allocations: 84.8 MB / 1.345 GB, free: 110.1 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches