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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001004/0.001004, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007084/0.007084, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 12.19 kB / 0.9028 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003335/0.349, allocations: 2.514 MB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004404/0.3535, allocations: 2.925 MB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.3538, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.3541, allocations: 59.83 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.3549, allocations: 194.8 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.3565, allocations: 0.5095 MB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.3574, allocations: 0.5056 MB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.3576, allocations: 102.5 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.358, allocations: 163.4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.3583, allocations: 203 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.3583, allocations: 24 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.3593, allocations: 371.7 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.3594, allocations: 75.67 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.3596, allocations: 224.6 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3607, allocations: 0.6893 MB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3607, allocations: 0 / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3607, allocations: 0 / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.3608, allocations: 0 / 1.067 GB, free: 12.85 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.001165/0.3619, allocations: 0.6856 MB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.362, allocations: 12.03 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1169/0.4789, allocations: 10.59 MB / 1.078 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/0.4827, allocations: 0.9208 MB / 1.079 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.4828, allocations: 20.94 kB / 1.079 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4841, allocations: 24.38 kB / 1.079 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.515, allocations: 3.574 MB / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5151, allocations: 0 / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000629/0.5157, allocations: 12 kB / 1.082 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.5158, allocations: 4 kB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/0.5449, allocations: 2.801 MB / 1.085 GB, free: 10.09 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.02871/0.5736, allocations: 17.15 MB / 1.102 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02826/0.6019, allocations: 2.77 MB / 1.105 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02433/0.6263, allocations: 2.625 MB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.6265, allocations: 39.83 kB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.6265, allocations: 34.55 kB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.6266, allocations: 0 / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.08265/0.7092, allocations: 8.035 MB / 1.115 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.7094, allocations: 55.41 kB / 1.115 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.7103, allocations: 341.7 kB / 1.116 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/0.7113, allocations: 33.7 kB / 1.116 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.7119, allocations: 200.4 kB / 1.116 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007612/0.7127, allocations: 70.94 kB / 1.116 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009345/0.7136, allocations: 33.7 kB / 1.116 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7139, allocations: 350.7 kB / 1.116 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03363/0.7475, allocations: 3.645 MB / 1.12 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0202/0.7678, allocations: 3.681 MB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03334/0.8011, allocations: 5.788 MB / 1.129 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.8012, allocations: 0 / 1.129 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04179/0.843, allocations: 7.535 MB / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.8431, allocations: 101 kB / 1.136 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03814/0.8813, allocations: 6.85 MB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.8814, allocations: 4 kB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0151/0.8965, allocations: 1.689 MB / 1.145 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.8965, allocations: 8 kB / 1.145 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/0.9102, allocations: 1.284 MB / 1.146 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000951/0.9112, allocations: 207.5 kB / 1.146 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9113, allocations: 8 kB / 1.146 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04275/0.954, allocations: 7.47 MB / 1.154 GB, free: 408 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03667/0.9907, allocations: 6.839 MB / 1.16 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9908, allocations: 3.984 kB / 1.16 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/1.005, allocations: 1.689 MB / 1.162 GB, free: 7.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.005, allocations: 0 / 1.162 GB, free: 7.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/1.019, allocations: 1.288 MB / 1.163 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008451/1.02, allocations: 203.5 kB / 1.163 GB, free: 6.371 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.021, allocations: 221.1 kB / 1.164 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/1.022, allocations: 39.47 kB / 1.164 GB, free: 6.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03367/1.055, allocations: 6.345 MB / 1.17 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/1.055, allocations: 7.938 kB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.055, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.056, allocations: 3.984 kB / 1.17 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/1.062, allocations: 6.48 MB / 1.176 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02995/1.092, allocations: 5.301 MB / 1.181 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01286/1.105, allocations: 1.455 MB / 1.183 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.105, allocations: 3.938 kB / 1.183 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.105, allocations: 171.5 kB / 1.183 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/1.105, allocations: 4 kB / 1.183 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.105, allocations: 0 / 1.183 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/1.135, allocations: 5.432 MB / 1.188 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.136, allocations: 0.5622 MB / 1.189 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/1.136, allocations: 12 kB / 1.189 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01155/1.148, allocations: 1.077 MB / 1.19 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.148, allocations: 39.84 kB / 1.19 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004465/1.149, allocations: 179.5 kB / 1.19 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002723/1.149, allocations: 235.2 kB / 1.19 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.149, allocations: 0 / 1.19 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002671/1.152, allocations: 0.5934 MB / 1.191 GB, free: 8.652 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 (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.0006881/1.152, allocations: 171.1 kB / 1.191 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0522/1.205, allocations: 9.679 MB / 1.2 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.205, allocations: 0 / 1.2 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/1.219, allocations: 2.739 MB / 1.203 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.22, allocations: 83.2 kB / 1.203 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.235, allocations: 3.232 MB / 1.206 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/1.236, allocations: 0.7884 MB / 1.207 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.01166/1.247, allocations: 1.642 MB / 1.209 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/1.25, allocations: 0.506 MB / 1.209 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of SimCode: time 1.583e-06/1.25, allocations: 0 / 1.209 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of Templates: time 0.7434/1.994, allocations: 80.31 MB / 1.288 GB, free: 165.7 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