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.007955/0.007955, allocations: 109.2 kB / 15.74 MB, free: 6.016 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.001897/0.001897, allocations: 190.6 kB / 16.67 MB, free: 5.941 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.255/2.255, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 140.4 MB / 1.088 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.005594/1.051, allocations: 2.839 MB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005537/1.056, allocations: 2.958 MB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/1.057, allocations: 3.688 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/1.057, allocations: 75.94 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008151/1.058, allocations: 211.8 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.06, allocations: 0.6114 MB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008059/1.061, allocations: 0.532 MB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/1.061, allocations: 116.8 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/1.062, allocations: 194 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/1.062, allocations: 223.8 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/1.062, allocations: 37.66 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/1.063, allocations: 387.2 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/1.063, allocations: 98.81 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/1.064, allocations: 210.4 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/1.065, allocations: 0.7357 MB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.065, allocations: 0 / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/1.065, allocations: 0 / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.065, allocations: 1.062 kB / 1.097 GB, free: 64 kB / 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.001394/1.066, allocations: 0.7418 MB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.066, allocations: 9.5 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0926/1.159, allocations: 12.22 MB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/1.162, allocations: 0.9276 MB / 1.11 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/1.162, allocations: 19.16 kB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000614/1.163, allocations: 31.03 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/1.179, allocations: 3.74 MB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.179, allocations: 0 / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/1.18, allocations: 10.69 kB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.18, allocations: 11 kB / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/1.194, allocations: 2.962 MB / 1.117 GB, free: 12.91 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.02113/1.216, allocations: 17.15 MB / 1.134 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/1.231, allocations: 2.935 MB / 1.137 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01474/1.246, allocations: 2.79 MB / 1.139 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.246, allocations: 34.97 kB / 1.139 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.246, allocations: 35.53 kB / 1.14 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 3.837e-06/1.246, allocations: 1.125 kB / 1.14 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04781/1.294, allocations: 8.554 MB / 1.148 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/1.294, allocations: 52.56 kB / 1.148 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/1.294, allocations: 337.4 kB / 1.148 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.295, allocations: 30.98 kB / 1.148 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/1.296, allocations: 198.7 kB / 1.148 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/1.297, allocations: 80.48 kB / 1.149 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002887/1.3, allocations: 480.8 kB / 1.149 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.3, allocations: 342 kB / 1.149 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02006/1.32, allocations: 3.899 MB / 1.153 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02046/1.341, allocations: 3.926 MB / 1.157 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03396/1.375, allocations: 6.212 MB / 1.163 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.375, allocations: 0 / 1.163 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04177/1.416, allocations: 8.041 MB / 1.171 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.416, allocations: 4 kB / 1.171 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0384/1.455, allocations: 7.283 MB / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/1.455, allocations: 0 / 1.178 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/1.469, allocations: 1.916 MB / 1.18 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.469, allocations: 0 / 1.18 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/1.482, allocations: 1.514 MB / 1.181 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.483, allocations: 199.5 kB / 1.182 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02041/1.504, allocations: 3.993 MB / 1.185 GB, free: 6.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01927/1.523, allocations: 3.93 MB / 1.189 GB, free: 2.855 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03203/1.555, allocations: 6.196 MB / 1.195 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/1.555, allocations: 7.984 kB / 1.195 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04202/1.597, allocations: 8.025 MB / 1.203 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.597, allocations: 4 kB / 1.203 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03734/1.635, allocations: 7.271 MB / 1.21 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/1.635, allocations: 4 kB / 1.21 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01392/1.649, allocations: 1.908 MB / 1.212 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/1.649, allocations: 8 kB / 1.212 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/1.661, allocations: 1.498 MB / 1.214 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.662, allocations: 207.4 kB / 1.214 GB, free: 9.699 MB / 0.9512 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.001462/1.664, allocations: 196.1 kB / 1.214 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/1.664, allocations: 35.53 kB / 1.214 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03295/1.697, allocations: 6.692 MB / 1.221 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.698, allocations: 4 kB / 1.221 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.698, allocations: 0 / 1.221 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.698, allocations: 3.984 kB / 1.221 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/1.704, allocations: 6.491 MB / 1.227 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03036/1.734, allocations: 5.63 MB / 1.232 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01199/1.746, allocations: 1.631 MB / 1.234 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/1.746, allocations: 0 / 1.234 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006648/1.747, allocations: 175.5 kB / 1.234 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.747, allocations: 0 / 1.234 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.747, allocations: 0 / 1.234 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/1.775, allocations: 5.775 MB / 1.24 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.776, allocations: 0.5623 MB / 1.24 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/1.776, allocations: 4 kB / 1.24 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0107/1.787, allocations: 1.26 MB / 1.242 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/1.787, allocations: 39.91 kB / 1.242 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000591/1.788, allocations: 175.5 kB / 1.242 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003021/1.788, allocations: 239.2 kB / 1.242 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.788, allocations: 4 kB / 1.242 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002832/1.791, allocations: 0.5856 MB / 1.243 GB, free: 10.63 MB / 0.9825 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.0007789/1.792, allocations: 175 kB / 1.243 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05096/1.843, allocations: 10.28 MB / 1.253 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.843, allocations: 4 kB / 1.253 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/1.857, allocations: 2.907 MB / 1.256 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.858, allocations: 85.38 kB / 1.256 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.872, allocations: 3.229 MB / 1.259 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.873, allocations: 0.8001 MB / 1.26 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.009097/1.882, allocations: 1.634 MB / 1.261 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.885, allocations: 0.4982 MB / 1.262 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/1.885, allocations: 4 kB / 1.262 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Templates: time 0.131/2.016, allocations: 86.39 MB / 1.346 GB, free: 296 kB / 1.076 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