Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009249/0.0009251, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001086/0.001086, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.965/2.965, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 15.28 kB / 0.9021 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4069, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003111/0.4101, allocations: 2.414 MB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.4139, allocations: 2.709 MB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.414, allocations: 4 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.4143, allocations: 63.59 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.4148, allocations: 193.9 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4159, allocations: 494.5 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.4165, allocations: 489.8 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4167, allocations: 86.02 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.4169, allocations: 159.4 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.4171, allocations: 199.1 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.4172, allocations: 20 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.4179, allocations: 359.7 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.418, allocations: 71.69 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.4181, allocations: 93.52 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.4186, allocations: 0.5259 MB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4187, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4187, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4187, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 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.0009682/0.4196, allocations: 0.6855 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4197, allocations: 8.031 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07848/0.4982, allocations: 10.59 MB / 1.077 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.5004, allocations: 0.908 MB / 1.078 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.5005, allocations: 24.56 kB / 1.078 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000834/0.5013, allocations: 31.95 kB / 1.078 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.5158, allocations: 3.562 MB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5158, allocations: 0 / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.5163, allocations: 8 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.5163, allocations: 11.94 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.5296, allocations: 2.793 MB / 1.084 GB, free: 10.71 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.01804/0.5477, allocations: 17.17 MB / 1.101 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.5599, allocations: 2.762 MB / 1.103 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/0.5718, allocations: 2.624 MB / 1.106 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.572, allocations: 27.98 kB / 1.106 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.572, allocations: 42.5 kB / 1.106 GB, free: 500 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.444e-06/0.5721, allocations: 0 / 1.106 GB, free: 500 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.03842/0.6105, allocations: 8.024 MB / 1.114 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6106, allocations: 55.41 kB / 1.114 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.6111, allocations: 341.7 kB / 1.114 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000726/0.6118, allocations: 33.7 kB / 1.114 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.6122, allocations: 200.4 kB / 1.114 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/0.6127, allocations: 70.86 kB / 1.114 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005768/0.6133, allocations: 8 kB / 1.114 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6135, allocations: 350.8 kB / 1.115 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01677/0.6303, allocations: 3.634 MB / 1.118 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01807/0.6484, allocations: 3.685 MB / 1.122 GB, free: 40 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/0.6652, allocations: 3.342 MB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.6653, allocations: 0 / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03631/0.7016, allocations: 7.517 MB / 1.133 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.7017, allocations: 101.8 kB / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03154/0.7333, allocations: 6.838 MB / 1.139 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.7333, allocations: 0 / 1.139 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/0.7456, allocations: 1.701 MB / 1.141 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.7457, allocations: 0 / 1.141 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/0.7567, allocations: 1.287 MB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.7579, allocations: 211.5 kB / 1.142 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7579, allocations: 9.875 kB / 1.142 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03665/0.7946, allocations: 7.458 MB / 1.15 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03297/0.8276, allocations: 6.846 MB / 1.156 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8277, allocations: 4 kB / 1.156 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/0.8407, allocations: 1.689 MB / 1.158 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.8408, allocations: 4 kB / 1.158 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/0.8519, allocations: 1.284 MB / 1.159 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/0.8532, allocations: 207.5 kB / 1.16 GB, free: 9.5 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001523/0.8548, allocations: 217 kB / 1.16 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.8553, allocations: 35.58 kB / 1.16 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02813/0.8835, allocations: 6.36 MB / 1.166 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.8835, allocations: 3.938 kB / 1.166 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8836, allocations: 0 / 1.166 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.8836, allocations: 4 kB / 1.166 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/0.8893, allocations: 6.48 MB / 1.172 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02495/0.9143, allocations: 5.29 MB / 1.177 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01068/0.925, allocations: 1.447 MB / 1.179 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.9251, allocations: 0 / 1.179 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006762/0.9258, allocations: 183.5 kB / 1.179 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.9258, allocations: 0 / 1.179 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.9258, allocations: 0 / 1.179 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02622/0.952, allocations: 5.436 MB / 1.184 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.9533, allocations: 0.5661 MB / 1.185 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005751/0.9539, allocations: 8 kB / 1.185 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009297/0.9633, allocations: 1.077 MB / 1.186 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.9635, allocations: 43.91 kB / 1.186 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006001/0.9641, allocations: 171.6 kB / 1.186 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003389/0.9644, allocations: 235.2 kB / 1.186 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9644, allocations: 3.938 kB / 1.186 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003176/0.9676, allocations: 0.5895 MB / 1.187 GB, free: 11.8 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000693/0.9683, allocations: 179 kB / 1.187 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.04386/1.012, allocations: 9.659 MB / 1.197 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.012, allocations: 0 / 1.197 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01281/1.025, allocations: 2.736 MB / 1.199 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.027, allocations: 83.89 kB / 1.199 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.04, allocations: 3.189 MB / 1.202 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/1.04, allocations: 0.7923 MB / 1.203 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.01208/1.052, allocations: 1.646 MB / 1.205 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/1.055, allocations: 0.4982 MB / 1.205 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of SimCode: time 1.102e-06/1.055, allocations: 4 kB / 1.205 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of Templates: time 0.7649/1.82, allocations: 79.25 MB / 1.283 GB, free: 168.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches