Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 182.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 93.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 15.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.4961, allocations: 140 MB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.4966, allocations: 99.94 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04628/0.5429, allocations: 16.46 MB / 1.053 GB, free: 3.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.543, allocations: 0 / 1.053 GB, free: 3.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.543, allocations: 12 kB / 1.053 GB, free: 3.078 MB / 0.698 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.001383/0.5444, allocations: 0.7019 MB / 1.054 GB, free: 2.324 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5444, allocations: 12.03 kB / 1.054 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7037/1.248, allocations: 11.07 MB / 1.065 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/1.265, allocations: 2.504 MB / 1.067 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/1.265, allocations: 22.56 kB / 1.067 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/1.265, allocations: 25.81 kB / 1.067 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/1.271, allocations: 1.517 MB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.271, allocations: 3.844 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.271, allocations: 8.531 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.271, allocations: 7.156 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/1.276, allocations: 1.278 MB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/1.282, allocations: 5.481 MB / 1.075 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005416/1.288, allocations: 1.233 MB / 1.076 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/1.288, allocations: 39.17 kB / 1.076 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.288, allocations: 31.94 kB / 1.076 GB, free: 140.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 4.198e-06/1.288, allocations: 0 / 1.076 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.01693/1.305, allocations: 3.506 MB / 1.08 GB, free: 139.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.305, allocations: 53.59 kB / 1.08 GB, free: 139.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/1.306, allocations: 298.2 kB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003961/1.306, allocations: 39.05 kB / 1.08 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/1.306, allocations: 201 kB / 1.08 GB, free: 139.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.306, allocations: 72.67 kB / 1.08 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.307, allocations: 3.875 kB / 1.08 GB, free: 139.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/1.307, allocations: 347.8 kB / 1.081 GB, free: 139.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/1.317, allocations: 2.115 MB / 1.083 GB, free: 139.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/1.327, allocations: 2.163 MB / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009958/1.337, allocations: 1.953 MB / 1.087 GB, free: 138.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.337, allocations: 3.844 kB / 1.087 GB, free: 138.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02146/1.359, allocations: 4.327 MB / 1.091 GB, free: 137.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.359, allocations: 193.7 kB / 1.091 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01701/1.376, allocations: 3.634 MB / 1.095 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.36e-05/1.376, allocations: 4 kB / 1.095 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008191/1.384, allocations: 0.944 MB / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/1.384, allocations: 3.984 kB / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007795/1.392, allocations: 0.8011 MB / 1.097 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/1.392, allocations: 76.86 kB / 1.097 GB, free: 132.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.392, allocations: 10.25 kB / 1.097 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02045/1.413, allocations: 4.267 MB / 1.101 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01669/1.43, allocations: 3.643 MB / 1.104 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.43, allocations: 4 kB / 1.104 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008199/1.438, allocations: 0.9487 MB / 1.105 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.438, allocations: 0 / 1.105 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007831/1.446, allocations: 0.7963 MB / 1.106 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/1.446, allocations: 79.83 kB / 1.106 GB, free: 122.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0008619/1.447, allocations: 224.9 kB / 1.106 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/1.448, allocations: 33.12 kB / 1.106 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008606/1.456, allocations: 1.971 MB / 1.108 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.456, allocations: 4 kB / 1.108 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.456, allocations: 3.984 kB / 1.108 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.456, allocations: 0 / 1.108 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/1.458, allocations: 1.09 MB / 1.109 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005677/1.463, allocations: 1.372 MB / 1.111 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.466, allocations: 331 kB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.466, allocations: 4 kB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/1.466, allocations: 31.95 kB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.466, allocations: 0 / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.466, allocations: 3.953 kB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005886/1.472, allocations: 1.511 MB / 1.113 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/1.473, allocations: 243.8 kB / 1.113 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.473, allocations: 12 kB / 1.113 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.475, allocations: 239.8 kB / 1.113 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/1.475, allocations: 27.83 kB / 1.113 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/1.475, allocations: 27.92 kB / 1.113 GB, free: 115.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002906/1.476, allocations: 235.2 kB / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.565e-06/1.476, allocations: 0 / 1.113 GB, free: 114.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001972/1.478, allocations: 375.8 kB / 1.114 GB, free: 114.6 MB / 0.698 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 (36): * Single equations (assignments): 36 * 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.0005843/1.478, allocations: 194.4 kB / 1.114 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02/1.498, allocations: 4.467 MB / 1.118 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.498, allocations: 0 / 1.118 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002904/1.501, allocations: 0.721 MB / 1.119 GB, free: 109.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/1.502, allocations: 73.38 kB / 1.119 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/1.506, allocations: 1.34 MB / 1.12 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/1.506, allocations: 0.8042 MB / 1.121 GB, free: 106.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004674/1.511, allocations: 0.7087 MB / 1.122 GB, free: 106.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.512, allocations: 135.2 kB / 1.122 GB, free: 106.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.512, allocations: 0 / 1.122 GB, free: 106.2 MB / 0.698 GB Notification: Performance of Templates: time 0.0631/1.575, allocations: 37.78 MB / 1.159 GB, free: 68.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches