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.00154/0.00154, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00187/0.00187, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.658/2.658, allocations: 437 MB / 0.71 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.8687 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7468, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.0038/0.7506, allocations: 2.874 MB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003812/0.7545, allocations: 2.925 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.7546, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.7549, allocations: 61.56 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.7554, allocations: 186.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.7568, allocations: 0.5453 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.7574, allocations: 0.5329 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.7577, allocations: 102.7 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.7579, allocations: 199.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.7581, allocations: 215.1 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.7582, allocations: 40 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.7589, allocations: 395.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.759, allocations: 91.67 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.7592, allocations: 211 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.76, allocations: 0.7284 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.76, allocations: 4 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.76, allocations: 0 / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.76, allocations: 0 / 1.026 GB, free: 9.539 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.001038/0.7611, allocations: 0.7478 MB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7611, allocations: 12.02 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.101/0.8621, allocations: 12.21 MB / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.864, allocations: 0.9324 MB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.8641, allocations: 20.94 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/0.8646, allocations: 24.38 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.8813, allocations: 3.742 MB / 1.043 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8813, allocations: 3.938 kB / 1.043 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.8816, allocations: 12 kB / 1.043 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.8816, allocations: 4 kB / 1.043 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.8964, allocations: 2.968 MB / 1.046 GB, free: 4.754 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.01377/0.9102, allocations: 17.14 MB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.9247, allocations: 2.938 MB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01442/0.9392, allocations: 2.792 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.9393, allocations: 31.98 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.9394, allocations: 30.56 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.655e-06/0.9394, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.04462/0.984, allocations: 8.544 MB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.9841, allocations: 55.41 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.9845, allocations: 341.6 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005573/0.985, allocations: 33.64 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.9853, allocations: 212.3 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.9856, allocations: 74.91 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.987, allocations: 476.9 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9872, allocations: 346.8 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02029/1.007, allocations: 3.893 MB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01959/1.027, allocations: 3.927 MB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03291/1.06, allocations: 6.208 MB / 1.092 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.06, allocations: 4 kB / 1.092 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04147/1.102, allocations: 8.039 MB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.102, allocations: 4 kB / 1.1 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03652/1.138, allocations: 7.299 MB / 1.107 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/1.138, allocations: 0 / 1.107 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/1.153, allocations: 1.912 MB / 1.109 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.153, allocations: 0 / 1.109 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/1.166, allocations: 1.518 MB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005941/1.167, allocations: 207.5 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01978/1.187, allocations: 3.985 MB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01988/1.207, allocations: 3.926 MB / 1.118 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03328/1.24, allocations: 6.192 MB / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/1.24, allocations: 0 / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04091/1.281, allocations: 8.029 MB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.281, allocations: 8 kB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0354/1.316, allocations: 7.276 MB / 1.139 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.316, allocations: 4 kB / 1.139 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/1.33, allocations: 1.916 MB / 1.141 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.331, allocations: 7.922 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/1.343, allocations: 1.495 MB / 1.142 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006186/1.344, allocations: 203.5 kB / 1.143 GB, free: 13.96 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.0009418/1.345, allocations: 196.7 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/1.345, allocations: 35.53 kB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/1.378, allocations: 6.703 MB / 1.149 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.379, allocations: 4 kB / 1.149 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.379, allocations: 3.984 kB / 1.149 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/1.379, allocations: 7.984 kB / 1.149 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/1.384, allocations: 6.491 MB / 1.156 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02965/1.414, allocations: 5.625 MB / 1.161 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01241/1.426, allocations: 1.631 MB / 1.163 GB, free: 7.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/1.426, allocations: 0 / 1.163 GB, free: 7.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005526/1.427, allocations: 179.5 kB / 1.163 GB, free: 7.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.427, allocations: 4 kB / 1.163 GB, free: 7.566 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.427, allocations: 0 / 1.163 GB, free: 7.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02889/1.456, allocations: 5.771 MB / 1.169 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.457, allocations: 0.5583 MB / 1.169 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.457, allocations: 11.98 kB / 1.169 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0115/1.469, allocations: 1.253 MB / 1.17 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.469, allocations: 43.91 kB / 1.17 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004836/1.469, allocations: 175.5 kB / 1.171 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002695/1.47, allocations: 235.2 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.47, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002878/1.472, allocations: 0.5857 MB / 1.171 GB, free: 14.9 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.0005863/1.473, allocations: 183.1 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.05083/1.524, allocations: 10.3 MB / 1.182 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/1.524, allocations: 0 / 1.182 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/1.538, allocations: 2.911 MB / 1.184 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.54, allocations: 90.75 kB / 1.185 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.555, allocations: 3.363 MB / 1.188 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/1.555, allocations: 0.8001 MB / 1.189 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0115/1.567, allocations: 1.649 MB / 1.19 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/1.57, allocations: 0.5021 MB / 1.191 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of SimCode: time 1.011e-06/1.57, allocations: 0 / 1.191 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.5857/2.155, allocations: 84.66 MB / 1.273 GB, free: 222.8 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