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.00647/0.00647, allocations: 99.66 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.001401/0.001401, allocations: 188 kB / 16.67 MB, free: 5.977 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.452/2.452, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.84 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004007/0.3442, allocations: 2.827 MB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.3482, allocations: 2.952 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3484, allocations: 4 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3487, allocations: 83.27 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.3492, allocations: 218.5 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3506, allocations: 0.6087 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.3512, allocations: 0.5368 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.3514, allocations: 115.2 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3516, allocations: 195.4 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3518, allocations: 223 kB / 1.096 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.3519, allocations: 36 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.3526, allocations: 391.7 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3527, allocations: 91.62 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3529, allocations: 215 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.3538, allocations: 0.7323 MB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3538, allocations: 3.938 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3538, allocations: 4 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3538, allocations: 0 / 1.097 GB, free: 8.223 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.001014/0.3548, allocations: 0.7402 MB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3549, allocations: 8.031 kB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08829/0.4432, allocations: 12.22 MB / 1.11 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4452, allocations: 0.9285 MB / 1.11 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.4452, allocations: 24.94 kB / 1.111 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/0.4457, allocations: 24.38 kB / 1.111 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.4606, allocations: 3.738 MB / 1.114 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4606, allocations: 0 / 1.114 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.4609, allocations: 8 kB / 1.114 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4609, allocations: 8 kB / 1.114 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.4744, allocations: 2.969 MB / 1.117 GB, free: 3.441 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.01834/0.4928, allocations: 17.15 MB / 1.134 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.506, allocations: 2.93 MB / 1.137 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/0.5194, allocations: 2.795 MB / 1.139 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.5196, allocations: 27.98 kB / 1.139 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5196, allocations: 38.56 kB / 1.14 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.966e-06/0.5196, allocations: 3.938 kB / 1.14 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.04119/0.5608, allocations: 8.546 MB / 1.148 GB, free: 352 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5609, allocations: 51.41 kB / 1.148 GB, free: 288 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.5613, allocations: 341.8 kB / 1.148 GB, free: 15.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.5618, allocations: 29.7 kB / 1.148 GB, free: 15.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.5621, allocations: 200.4 kB / 1.148 GB, free: 15.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.5625, allocations: 78.84 kB / 1.149 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.5641, allocations: 476.9 kB / 1.149 GB, free: 15.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5643, allocations: 350.8 kB / 1.149 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/0.5826, allocations: 3.893 MB / 1.153 GB, free: 10.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01812/0.6008, allocations: 3.942 MB / 1.157 GB, free: 6.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03047/0.6313, allocations: 6.2 MB / 1.163 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.6313, allocations: 0 / 1.163 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03912/0.6704, allocations: 8.045 MB / 1.171 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.6705, allocations: 8 kB / 1.171 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0361/0.7066, allocations: 7.279 MB / 1.178 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.7066, allocations: 8 kB / 1.178 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/0.7202, allocations: 1.908 MB / 1.18 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7202, allocations: 7.938 kB / 1.18 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/0.7325, allocations: 1.502 MB / 1.181 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009204/0.7334, allocations: 203.5 kB / 1.182 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01925/0.7527, allocations: 3.985 MB / 1.185 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01855/0.7713, allocations: 3.926 MB / 1.189 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03113/0.8024, allocations: 6.199 MB / 1.195 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.189e-06/0.8025, allocations: 0 / 1.195 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04008/0.8426, allocations: 8.029 MB / 1.203 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.8427, allocations: 9.562 kB / 1.203 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03663/0.8793, allocations: 7.271 MB / 1.21 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8794, allocations: 3.938 kB / 1.21 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/0.8933, allocations: 1.916 MB / 1.212 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.8933, allocations: 3.984 kB / 1.212 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/0.9058, allocations: 1.495 MB / 1.214 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.9069, allocations: 207.5 kB / 1.214 GB, free: 12.66 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.001294/0.9082, allocations: 200.1 kB / 1.214 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/0.909, allocations: 35.53 kB / 1.214 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03114/0.9401, allocations: 6.692 MB / 1.221 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.9402, allocations: 8 kB / 1.221 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.9402, allocations: 0 / 1.221 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.9402, allocations: 0 / 1.221 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.9467, allocations: 6.491 MB / 1.227 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02826/0.9749, allocations: 5.63 MB / 1.232 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0117/0.9867, allocations: 1.627 MB / 1.234 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.9867, allocations: 4 kB / 1.234 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00077/0.9875, allocations: 175.5 kB / 1.234 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.9875, allocations: 4 kB / 1.234 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9876, allocations: 0 / 1.234 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0343/1.022, allocations: 5.771 MB / 1.24 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.024, allocations: 0.5622 MB / 1.24 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008985/1.025, allocations: 8 kB / 1.24 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01893/1.044, allocations: 1.257 MB / 1.242 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.044, allocations: 39.91 kB / 1.242 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001215/1.045, allocations: 179.5 kB / 1.242 GB, free: 14.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006299/1.046, allocations: 235.1 kB / 1.242 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.91e-07/1.046, allocations: 0 / 1.242 GB, free: 14.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004988/1.051, allocations: 0.5895 MB / 1.243 GB, free: 13.6 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.001044/1.052, allocations: 183 kB / 1.243 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.05875/1.111, allocations: 10.28 MB / 1.253 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.111, allocations: 4 kB / 1.253 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01456/1.126, allocations: 2.903 MB / 1.256 GB, free: 216 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.127, allocations: 85.44 kB / 1.256 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5335/1.66, allocations: 3.221 MB / 1.259 GB, free: 170.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.661, allocations: 0.797 MB / 1.26 GB, free: 169.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.008355/1.669, allocations: 1.637 MB / 1.261 GB, free: 168.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/1.672, allocations: 0.4976 MB / 1.262 GB, free: 168.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.472e-06/1.672, allocations: 0.875 kB / 1.262 GB, free: 168.9 MB / 1.014 GB Notification: Performance of Templates: time 0.122/1.794, allocations: 84.81 MB / 1.345 GB, free: 110.2 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