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.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 187.7 kB / 316.3 MB, free: 3.238 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.959/1.959, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.001177/0.001177, allocations: 97.78 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.881e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9/1.141, allocations: 140.2 MB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.142, allocations: 91.48 kB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04509/1.187, allocations: 16.27 MB / 1.038 GB, free: 204 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.455e-06/1.187, allocations: 0 / 1.038 GB, free: 204 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.405e-05/1.187, allocations: 8 kB / 1.038 GB, free: 196 kB / 0.6511 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.001221/1.188, allocations: 0.6473 MB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.527e-05/1.188, allocations: 8.031 kB / 1.039 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09525/1.284, allocations: 11.07 MB / 1.05 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/1.299, allocations: 2.493 MB / 1.052 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/1.299, allocations: 12 kB / 1.052 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/1.3, allocations: 16 kB / 1.052 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/1.301, allocations: 0.7 MB / 1.053 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/1.303, allocations: 0.9265 MB / 1.054 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.303, allocations: 0 / 1.054 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.303, allocations: 0 / 1.054 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.303, allocations: 4 kB / 1.054 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007568/1.31, allocations: 5.428 MB / 1.059 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.312, allocations: 0.6987 MB / 1.06 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/1.312, allocations: 0.5326 MB / 1.06 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/1.313, allocations: 30.8 kB / 1.06 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/1.313, allocations: 37.94 kB / 1.06 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.146e-06/1.313, allocations: 3.938 kB / 1.06 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.007148/1.32, allocations: 1.831 MB / 1.062 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/1.32, allocations: 55.36 kB / 1.062 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/1.32, allocations: 244.4 kB / 1.062 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.321, allocations: 29.7 kB / 1.062 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/1.321, allocations: 207.5 kB / 1.062 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.321, allocations: 65.7 kB / 1.063 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/1.321, allocations: 0 / 1.063 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.321, allocations: 344.8 kB / 1.063 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.323, allocations: 1.061 MB / 1.064 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/1.325, allocations: 1.121 MB / 1.065 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.336, allocations: 2.388 MB / 1.067 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.336, allocations: 4 kB / 1.067 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01393/1.35, allocations: 3.7 MB / 1.071 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.35, allocations: 102.8 kB / 1.071 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01271/1.363, allocations: 3.29 MB / 1.074 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.363, allocations: 3.953 kB / 1.074 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0084/1.371, allocations: 0.9465 MB / 1.075 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.371, allocations: 11.98 kB / 1.075 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007769/1.379, allocations: 0.7825 MB / 1.076 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.379, allocations: 74.88 kB / 1.076 GB, free: 14.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.379, allocations: 7.938 kB / 1.076 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01375/1.393, allocations: 3.643 MB / 1.08 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01234/1.406, allocations: 3.296 MB / 1.083 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/1.406, allocations: 0 / 1.083 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008346/1.414, allocations: 0.9465 MB / 1.084 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.414, allocations: 0 / 1.084 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007796/1.422, allocations: 0.7863 MB / 1.085 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.422, allocations: 75.38 kB / 1.085 GB, free: 7.391 MB / 0.698 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 () * 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.0004529/1.423, allocations: 112.9 kB / 1.085 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/1.423, allocations: 31.62 kB / 1.085 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/1.43, allocations: 1.765 MB / 1.086 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.43, allocations: 7.984 kB / 1.086 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.43, allocations: 0 / 1.086 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.43, allocations: 0 / 1.086 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.431, allocations: 1.053 MB / 1.087 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003644/1.435, allocations: 1.168 MB / 1.089 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.437, allocations: 334.5 kB / 1.089 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.437, allocations: 0 / 1.089 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/1.437, allocations: 23.95 kB / 1.089 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/1.437, allocations: 8 kB / 1.089 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.437, allocations: 0 / 1.089 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/1.441, allocations: 1.316 MB / 1.09 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/1.442, allocations: 233 kB / 1.09 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.442, allocations: 0 / 1.09 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.444, allocations: 239.6 kB / 1.091 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/1.444, allocations: 19.97 kB / 1.091 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/1.444, allocations: 30.97 kB / 1.091 GB, free: 2.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002131/1.445, allocations: 190.5 kB / 1.091 GB, free: 1.941 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.445, allocations: 0 / 1.091 GB, free: 1.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001511/1.446, allocations: 362.8 kB / 1.091 GB, free: 1.59 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 () * 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.0004334/1.447, allocations: 198.4 kB / 1.091 GB, free: 1.391 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003725/1.45, allocations: 2.38 MB / 1.094 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.45, allocations: 0 / 1.094 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/1.451, allocations: 415.6 kB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/1.451, allocations: 53.14 kB / 1.094 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.453, allocations: 0.6384 MB / 1.095 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.453, allocations: 0.8079 MB / 1.096 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00423/1.457, allocations: 0.7184 MB / 1.096 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/1.458, allocations: 131.2 kB / 1.096 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.458, allocations: 4 kB / 1.097 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.06315/1.521, allocations: 36.32 MB / 1.132 GB, free: 8.172 MB / 0.7448 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