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.009/0.009, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.001718/0.001718, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.3 MB, free: 4.363 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 67.5 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3241, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00388/0.3281, allocations: 2.838 MB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004335/0.3324, allocations: 2.957 MB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3326, allocations: 4 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.333, allocations: 83.22 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.3335, allocations: 210.6 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3352, allocations: 0.6071 MB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.3358, allocations: 0.529 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.3361, allocations: 118.7 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.3363, allocations: 195.3 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3366, allocations: 219.1 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.3366, allocations: 36 kB / 1.096 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007845/0.3374, allocations: 395.6 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.3375, allocations: 91.69 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3377, allocations: 215 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009854/0.3387, allocations: 0.7361 MB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3387, allocations: 0 / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3387, allocations: 3.938 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3388, allocations: 0 / 1.097 GB, free: 8.254 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.00123/0.34, allocations: 0.7363 MB / 1.098 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.34, allocations: 12.03 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1182/0.4582, allocations: 12.22 MB / 1.11 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.4608, allocations: 0.9285 MB / 1.11 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.4609, allocations: 20.94 kB / 1.111 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009079/0.4618, allocations: 28.38 kB / 1.111 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.4795, allocations: 3.734 MB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4795, allocations: 0 / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.4801, allocations: 12 kB / 1.114 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4801, allocations: 15.98 kB / 1.114 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4951, allocations: 2.957 MB / 1.117 GB, free: 3.477 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.01953/0.5147, allocations: 17.15 MB / 1.134 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.5292, allocations: 2.941 MB / 1.137 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/0.5434, allocations: 2.788 MB / 1.139 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.5436, allocations: 31.98 kB / 1.139 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5436, allocations: 34.56 kB / 1.14 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.936e-06/0.5436, allocations: 4 kB / 1.14 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.04345/0.5871, allocations: 8.542 MB / 1.148 GB, free: 388 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.5872, allocations: 55.41 kB / 1.148 GB, free: 320 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.5877, allocations: 345.7 kB / 1.148 GB, free: 15.97 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006128/0.5883, allocations: 29.7 kB / 1.148 GB, free: 15.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.5886, allocations: 204.4 kB / 1.148 GB, free: 15.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.589, allocations: 74.84 kB / 1.149 GB, free: 15.65 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.5906, allocations: 480.9 kB / 1.149 GB, free: 15.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5908, allocations: 342.8 kB / 1.149 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01934/0.6101, allocations: 3.889 MB / 1.153 GB, free: 10.94 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01983/0.63, allocations: 3.931 MB / 1.157 GB, free: 6.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03308/0.6631, allocations: 6.207 MB / 1.163 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.6631, allocations: 0 / 1.163 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0416/0.7048, allocations: 8.045 MB / 1.171 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7048, allocations: 4 kB / 1.171 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03611/0.741, allocations: 7.283 MB / 1.178 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.741, allocations: 0 / 1.178 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/0.7556, allocations: 1.916 MB / 1.18 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.7556, allocations: 4 kB / 1.18 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/0.7692, allocations: 1.502 MB / 1.181 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009772/0.7702, allocations: 207.5 kB / 1.182 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01965/0.7899, allocations: 3.989 MB / 1.185 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01963/0.8095, allocations: 3.926 MB / 1.189 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03256/0.8422, allocations: 6.196 MB / 1.195 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/0.8422, allocations: 0 / 1.195 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0399/0.8821, allocations: 8.037 MB / 1.203 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8822, allocations: 4 kB / 1.203 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0357/0.9179, allocations: 7.271 MB / 1.21 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.9179, allocations: 8 kB / 1.21 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/0.9322, allocations: 1.912 MB / 1.212 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.9323, allocations: 4 kB / 1.212 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/0.9453, allocations: 1.498 MB / 1.214 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007881/0.9461, allocations: 207.5 kB / 1.214 GB, free: 12.7 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.001059/0.9472, allocations: 200.1 kB / 1.214 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.9477, allocations: 35.53 kB / 1.214 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03071/0.9784, allocations: 6.692 MB / 1.221 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.9785, allocations: 0 / 1.221 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.9785, allocations: 0 / 1.221 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.9785, allocations: 4 kB / 1.221 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/0.9847, allocations: 6.491 MB / 1.227 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02825/1.013, allocations: 5.626 MB / 1.232 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01211/1.025, allocations: 1.631 MB / 1.234 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/1.025, allocations: 4 kB / 1.234 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006161/1.026, allocations: 171.5 kB / 1.234 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.026, allocations: 4 kB / 1.234 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.026, allocations: 0 / 1.234 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/1.054, allocations: 5.783 MB / 1.24 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.056, allocations: 0.5623 MB / 1.24 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/1.056, allocations: 4 kB / 1.24 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/1.067, allocations: 1.257 MB / 1.242 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.067, allocations: 39.91 kB / 1.242 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004444/1.068, allocations: 175.5 kB / 1.242 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004035/1.068, allocations: 243.2 kB / 1.242 GB, free: 14.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0 / 1.242 GB, free: 14.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002742/1.071, allocations: 0.5895 MB / 1.243 GB, free: 13.62 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.000611/1.071, allocations: 178.9 kB / 1.243 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.05115/1.123, allocations: 10.28 MB / 1.253 GB, free: 3.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.123, allocations: 0 / 1.253 GB, free: 3.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01464/1.137, allocations: 2.911 MB / 1.256 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.138, allocations: 85.38 kB / 1.256 GB, free: 168 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5763/1.715, allocations: 3.225 MB / 1.259 GB, free: 170.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/1.715, allocations: 0.7913 MB / 1.26 GB, free: 169.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.007991/1.723, allocations: 1.636 MB / 1.261 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/1.726, allocations: 0.4997 MB / 1.262 GB, free: 168.8 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/1.726, allocations: 0 / 1.262 GB, free: 168.8 MB / 1.014 GB Notification: Performance of Templates: time 0.1224/1.848, 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