Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001801/0.001802, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 198 kB / 16.53 MB, free: 6.668 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7103 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.89 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.728, allocations: 151.6 MB / 1.017 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00422/0.7323, allocations: 2.838 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.7365, allocations: 2.956 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.7366, allocations: 4 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.7369, allocations: 81.31 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.7374, allocations: 202.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.7388, allocations: 0.6223 MB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00058/0.7393, allocations: 0.5328 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.7396, allocations: 106.7 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.7398, allocations: 187.4 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.74, allocations: 223.1 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.7401, allocations: 36 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.7408, allocations: 391.6 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.7409, allocations: 95.66 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.7411, allocations: 218.9 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.742, allocations: 0.7206 MB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.742, allocations: 0 / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.624e-06/0.742, allocations: 0 / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.742, allocations: 0 / 1.026 GB, free: 9.332 MB / 0.7794 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.001096/0.7431, allocations: 0.7556 MB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7432, allocations: 12.03 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09978/0.8429, allocations: 12.21 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.845, allocations: 0.9285 MB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.8451, allocations: 16.94 kB / 1.04 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007792/0.8459, allocations: 28.38 kB / 1.04 GB, free: 11.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.8634, allocations: 3.738 MB / 1.044 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.8634, allocations: 0 / 1.044 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004774/0.8639, allocations: 8 kB / 1.044 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.864, allocations: 11.94 kB / 1.044 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.8789, allocations: 2.969 MB / 1.046 GB, free: 4.539 MB / 0.795 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.01661/0.8956, allocations: 17.14 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.9107, allocations: 2.941 MB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01435/0.9251, allocations: 2.788 MB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.9252, allocations: 35.97 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.9253, allocations: 34.56 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.9253, allocations: 0 / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.04467/0.97, allocations: 8.549 MB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.97, allocations: 59.34 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.9705, allocations: 345.6 kB / 1.078 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005268/0.971, allocations: 25.7 kB / 1.078 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.9713, allocations: 208.3 kB / 1.078 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/0.9717, allocations: 74.91 kB / 1.078 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.9733, allocations: 480.8 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9734, allocations: 346.8 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02001/0.9935, allocations: 3.897 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/1.013, allocations: 3.928 MB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03443/1.048, allocations: 6.211 MB / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.048, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04337/1.091, allocations: 8.03 MB / 1.1 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.091, allocations: 4 kB / 1.1 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03862/1.13, allocations: 7.299 MB / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.13, allocations: 0 / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/1.145, allocations: 1.919 MB / 1.109 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.145, allocations: 0 / 1.109 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/1.159, allocations: 1.51 MB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006322/1.159, allocations: 207.5 kB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02048/1.18, allocations: 3.987 MB / 1.115 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02013/1.2, allocations: 3.926 MB / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03402/1.234, allocations: 6.2 MB / 1.125 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/1.234, allocations: 0 / 1.125 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04195/1.276, allocations: 8.026 MB / 1.132 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.276, allocations: 4 kB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03724/1.313, allocations: 7.28 MB / 1.14 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.313, allocations: 0 / 1.14 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/1.328, allocations: 1.919 MB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.329, allocations: 4 kB / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01359/1.342, allocations: 1.495 MB / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000587/1.343, allocations: 203.5 kB / 1.143 GB, free: 13.75 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.0008805/1.344, allocations: 192.1 kB / 1.143 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/1.344, allocations: 35.53 kB / 1.143 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03317/1.377, allocations: 6.707 MB / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.377, allocations: 4 kB / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.377, allocations: 0 / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.377, allocations: 3.984 kB / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/1.383, allocations: 6.495 MB / 1.156 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0293/1.412, allocations: 5.629 MB / 1.162 GB, free: 9.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01264/1.425, allocations: 1.627 MB / 1.163 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/1.425, allocations: 0 / 1.163 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005022/1.425, allocations: 179.5 kB / 1.164 GB, free: 7.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.425, allocations: 4 kB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.425, allocations: 0 / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02984/1.455, allocations: 5.775 MB / 1.169 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.456, allocations: 0.5622 MB / 1.17 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/1.457, allocations: 4 kB / 1.17 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01116/1.468, allocations: 1.253 MB / 1.171 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.468, allocations: 43.91 kB / 1.171 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004781/1.469, allocations: 175.5 kB / 1.171 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002989/1.469, allocations: 235.2 kB / 1.171 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.469, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002765/1.472, allocations: 0.5857 MB / 1.172 GB, free: 14.69 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.0006778/1.472, allocations: 179.1 kB / 1.172 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.05144/1.524, allocations: 10.3 MB / 1.182 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.524, allocations: 4 kB / 1.182 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/1.539, allocations: 2.907 MB / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.54, allocations: 93.38 kB / 1.185 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.555, allocations: 3.231 MB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/1.556, allocations: 0.7962 MB / 1.189 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.01158/1.567, allocations: 1.649 MB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002805/1.57, allocations: 0.5021 MB / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of SimCode: time 2.464e-06/1.57, allocations: 0 / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.6776/2.248, allocations: 84.79 MB / 1.274 GB, free: 222.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches