Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001672/0.001672, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001876/0.001876, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.91 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004573/0.3331, allocations: 2.876 MB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004542/0.3376, allocations: 2.913 MB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.3379, allocations: 7.938 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3382, allocations: 67.8 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.3388, allocations: 189 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3402, allocations: 0.5434 MB / 1.071 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006613/0.3408, allocations: 0.5251 MB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3411, allocations: 118.6 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3414, allocations: 191.3 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.3417, allocations: 219.1 kB / 1.072 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.3418, allocations: 36 kB / 1.072 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.3426, allocations: 395.6 kB / 1.072 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.3428, allocations: 95.66 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.3431, allocations: 215 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.3438, allocations: 0.5339 MB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3438, allocations: 0 / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3438, allocations: 0 / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3439, allocations: 4 kB / 1.073 GB, free: 6.176 MB / 0.8419 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.001312/0.3452, allocations: 0.744 MB / 1.074 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3452, allocations: 12.02 kB / 1.074 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.561/0.9063, allocations: 12.2 MB / 1.085 GB, free: 20.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.9083, allocations: 0.9249 MB / 1.086 GB, free: 20.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.9084, allocations: 21.84 kB / 1.086 GB, free: 20.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.9089, allocations: 25 kB / 1.086 GB, free: 20.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.9275, allocations: 3.738 MB / 1.09 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.9275, allocations: 0 / 1.09 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.9279, allocations: 15.09 kB / 1.09 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.9279, allocations: 6.281 kB / 1.09 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.9433, allocations: 2.967 MB / 1.093 GB, free: 19.25 MB / 0.8419 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.01261/0.9559, allocations: 17.15 MB / 1.11 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.9705, allocations: 2.934 MB / 1.113 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01447/0.985, allocations: 2.794 MB / 1.115 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.9852, allocations: 35.67 kB / 1.115 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.9852, allocations: 31.81 kB / 1.115 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.474e-06/0.9852, allocations: 5.188 kB / 1.115 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.04643/1.032, allocations: 8.544 MB / 1.124 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.032, allocations: 56.64 kB / 1.124 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/1.032, allocations: 341.1 kB / 1.124 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007407/1.033, allocations: 27.08 kB / 1.124 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/1.033, allocations: 206.4 kB / 1.124 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/1.034, allocations: 78.08 kB / 1.124 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/1.035, allocations: 478.9 kB / 1.125 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.035, allocations: 345.3 kB / 1.125 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02069/1.056, allocations: 3.896 MB / 1.129 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02089/1.077, allocations: 3.935 MB / 1.133 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03515/1.112, allocations: 6.203 MB / 1.139 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.112, allocations: 5.031 kB / 1.139 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0431/1.155, allocations: 8.037 MB / 1.147 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.155, allocations: 3.812 kB / 1.147 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03845/1.194, allocations: 7.289 MB / 1.154 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/1.194, allocations: 4 kB / 1.154 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/1.209, allocations: 1.92 MB / 1.156 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.209, allocations: 0 / 1.156 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/1.223, allocations: 1.502 MB / 1.157 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008385/1.224, allocations: 204.5 kB / 1.157 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02089/1.245, allocations: 3.995 MB / 1.161 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0199/1.265, allocations: 3.938 MB / 1.165 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03346/1.298, allocations: 6.185 MB / 1.171 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/1.299, allocations: 4 kB / 1.171 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04245/1.341, allocations: 8.032 MB / 1.179 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.341, allocations: 11.64 kB / 1.179 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03784/1.379, allocations: 7.287 MB / 1.186 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/1.379, allocations: 0 / 1.186 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01504/1.394, allocations: 1.912 MB / 1.188 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.394, allocations: 4 kB / 1.188 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/1.408, allocations: 1.502 MB / 1.19 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008806/1.409, allocations: 207.5 kB / 1.19 GB, free: 9.434 MB / 0.9044 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.001106/1.41, allocations: 192.1 kB / 1.19 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/1.41, allocations: 35.53 kB / 1.19 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/1.444, allocations: 6.698 MB / 1.196 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.444, allocations: 0 / 1.196 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/1.444, allocations: 4 kB / 1.196 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.444, allocations: 4 kB / 1.196 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/1.451, allocations: 6.482 MB / 1.203 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03158/1.483, allocations: 5.629 MB / 1.208 GB, free: 4.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01338/1.496, allocations: 1.627 MB / 1.21 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/1.496, allocations: 6.312 kB / 1.21 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008053/1.497, allocations: 175.5 kB / 1.21 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.497, allocations: 3.938 kB / 1.21 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.497, allocations: 4 kB / 1.21 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03099/1.528, allocations: 5.776 MB / 1.216 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.529, allocations: 0.5583 MB / 1.216 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.53, allocations: 4 kB / 1.216 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01233/1.542, allocations: 1.261 MB / 1.218 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.542, allocations: 39.91 kB / 1.218 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006193/1.543, allocations: 179.5 kB / 1.218 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003077/1.543, allocations: 231.2 kB / 1.218 GB, free: 11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.084e-06/1.543, allocations: 0 / 1.218 GB, free: 11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002603/1.546, allocations: 0.5983 MB / 1.219 GB, free: 10.41 MB / 0.9356 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.0005927/1.547, allocations: 182.2 kB / 1.219 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.05941/1.606, allocations: 10.3 MB / 1.229 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.606, allocations: 0 / 1.229 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01885/1.625, allocations: 2.907 MB / 1.232 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.627, allocations: 89.16 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.646, allocations: 3.39 MB / 1.235 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/1.647, allocations: 0.7923 MB / 1.236 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003373/1.65, allocations: 0.5528 MB / 1.236 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/1.65, allocations: 0 / 1.236 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of Templates: time 0.05872/1.709, allocations: 37.17 MB / 1.273 GB, free: 2.816 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches