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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001352/0.001352, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.00131/0.001311, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.91 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7382, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003706/0.7419, allocations: 2.829 MB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.7465, allocations: 2.963 MB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.7466, allocations: 3.688 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.747, allocations: 81.56 kB / 1.089 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.7475, allocations: 216.5 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.7491, allocations: 0.6087 MB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.7498, allocations: 0.5279 MB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.75, allocations: 109.5 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.7503, allocations: 194.7 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.7505, allocations: 217.1 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.7506, allocations: 40.97 kB / 1.091 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.7514, allocations: 394.7 kB / 1.091 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.7515, allocations: 95.66 kB / 1.091 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.7518, allocations: 210.2 kB / 1.091 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.7532, allocations: 0.7275 MB / 1.092 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7532, allocations: 0 / 1.092 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7532, allocations: 1.469 kB / 1.092 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.7533, allocations: 0 / 1.092 GB, free: 11.95 MB / 0.8419 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.001555/0.7548, allocations: 0.7488 MB / 1.093 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7549, allocations: 10.44 kB / 1.093 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09778/0.8527, allocations: 12.2 MB / 1.105 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.8553, allocations: 0.9308 MB / 1.105 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.8553, allocations: 23.59 kB / 1.105 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/0.8559, allocations: 26.5 kB / 1.106 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.8722, allocations: 3.744 MB / 1.109 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.8722, allocations: 0 / 1.109 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.8725, allocations: 10.12 kB / 1.109 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.8725, allocations: 10.12 kB / 1.109 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.8869, allocations: 2.967 MB / 1.112 GB, free: 7.762 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.01941/0.9064, allocations: 17.14 MB / 1.129 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.921, allocations: 2.936 MB / 1.132 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/0.9354, allocations: 2.79 MB / 1.134 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.9356, allocations: 35.12 kB / 1.134 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.9356, allocations: 35.84 kB / 1.134 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 9.899e-06/0.9356, allocations: 0 / 1.134 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.04353/0.9792, allocations: 8.56 MB / 1.143 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.9792, allocations: 51.41 kB / 1.143 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.9797, allocations: 345.5 kB / 1.143 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/0.9805, allocations: 29.7 kB / 1.143 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.9808, allocations: 204.4 kB / 1.143 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.9811, allocations: 66.92 kB / 1.144 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.9826, allocations: 484.9 kB / 1.144 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9828, allocations: 342.8 kB / 1.144 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02011/1.003, allocations: 3.893 MB / 1.148 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02028/1.023, allocations: 3.931 MB / 1.152 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03349/1.057, allocations: 6.197 MB / 1.158 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.057, allocations: 0 / 1.158 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04171/1.099, allocations: 8.05 MB / 1.166 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.099, allocations: 4 kB / 1.166 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0368/1.135, allocations: 7.291 MB / 1.173 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.135, allocations: 0 / 1.173 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01441/1.15, allocations: 1.916 MB / 1.175 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.15, allocations: 4 kB / 1.175 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/1.163, allocations: 1.506 MB / 1.176 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/1.164, allocations: 211.5 kB / 1.177 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01974/1.183, allocations: 3.989 MB / 1.18 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0197/1.203, allocations: 3.923 MB / 1.184 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03261/1.236, allocations: 6.196 MB / 1.19 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.032e-06/1.236, allocations: 0 / 1.19 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03973/1.276, allocations: 8.029 MB / 1.198 GB, free: 5.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.276, allocations: 8 kB / 1.198 GB, free: 5.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03619/1.312, allocations: 7.268 MB / 1.205 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.312, allocations: 8 kB / 1.205 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/1.326, allocations: 1.904 MB / 1.207 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.326, allocations: 11.98 kB / 1.207 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01329/1.34, allocations: 1.494 MB / 1.209 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000751/1.341, allocations: 215.4 kB / 1.209 GB, free: 10.22 MB / 0.9356 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.001064/1.342, allocations: 192.1 kB / 1.209 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/1.342, allocations: 31.62 kB / 1.209 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03314/1.375, allocations: 6.707 MB / 1.216 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.375, allocations: 4 kB / 1.216 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.375, allocations: 3.938 kB / 1.216 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.375, allocations: 3.984 kB / 1.216 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/1.382, allocations: 6.479 MB / 1.222 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02906/1.411, allocations: 5.629 MB / 1.227 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01222/1.424, allocations: 1.631 MB / 1.229 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.424, allocations: 4 kB / 1.229 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004557/1.424, allocations: 171.5 kB / 1.229 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.424, allocations: 0 / 1.229 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.424, allocations: 4 kB / 1.229 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/1.453, allocations: 5.78 MB / 1.235 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.455, allocations: 0.5583 MB / 1.235 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/1.455, allocations: 4 kB / 1.235 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/1.466, allocations: 1.257 MB / 1.237 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.466, allocations: 43.91 kB / 1.237 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004477/1.467, allocations: 175.5 kB / 1.237 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002831/1.467, allocations: 239.2 kB / 1.237 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.467, allocations: 0 / 1.237 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002548/1.469, allocations: 0.5895 MB / 1.238 GB, free: 11.16 MB / 0.9669 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.0005438/1.47, allocations: 179 kB / 1.238 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.05153/1.521, allocations: 10.3 MB / 1.248 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.522, allocations: 0 / 1.248 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01449/1.536, allocations: 2.911 MB / 1.251 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.537, allocations: 81.34 kB / 1.251 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.552, allocations: 3.266 MB / 1.254 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/1.552, allocations: 0.7923 MB / 1.255 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/1.555, allocations: 0.5528 MB / 1.255 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of SimCode: time 1.052e-06/1.555, allocations: 8 kB / 1.255 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.05357/1.609, allocations: 37.16 MB / 1.292 GB, free: 3.664 MB / 1.014 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=400 -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/jenkins1/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