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.001622/0.001622, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001542/0.001542, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.524/2.524, allocations: 437.1 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.64 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004698/0.3218, allocations: 2.854 MB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004489/0.3264, allocations: 2.948 MB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.3266, allocations: 4 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.327, allocations: 95.48 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.3277, allocations: 203.1 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3293, allocations: 0.5983 MB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000771/0.3301, allocations: 0.5329 MB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.3303, allocations: 114.6 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.3306, allocations: 191.3 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.3309, allocations: 219.1 kB / 1.026 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.331, allocations: 36 kB / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008471/0.3319, allocations: 391.6 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.332, allocations: 95.67 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3322, allocations: 211 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3333, allocations: 0.7323 MB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3333, allocations: 0 / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3333, allocations: 0 / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.3333, allocations: 4 kB / 1.027 GB, free: 1.348 MB / 0.795 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.001238/0.3346, allocations: 0.746 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3346, allocations: 12.92 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09819/0.4328, allocations: 12.21 MB / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.4349, allocations: 0.9247 MB / 1.041 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.435, allocations: 20.94 kB / 1.041 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/0.4354, allocations: 24.38 kB / 1.041 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.4513, allocations: 3.742 MB / 1.044 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4513, allocations: 0 / 1.044 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.4516, allocations: 4 kB / 1.044 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4516, allocations: 11.98 kB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.4663, allocations: 2.969 MB / 1.047 GB, free: 12.57 MB / 0.8262 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.01805/0.4844, allocations: 17.15 MB / 1.064 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/0.4996, allocations: 2.93 MB / 1.067 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01428/0.5139, allocations: 2.792 MB / 1.069 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5141, allocations: 31.98 kB / 1.07 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.5141, allocations: 42.5 kB / 1.07 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.5141, allocations: 0 / 1.07 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.5302/1.044, allocations: 8.535 MB / 1.078 GB, free: 61.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.044, allocations: 53.66 kB / 1.078 GB, free: 61.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/1.045, allocations: 352.4 kB / 1.078 GB, free: 61.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005553/1.045, allocations: 27.77 kB / 1.078 GB, free: 61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/1.046, allocations: 198.2 kB / 1.078 GB, free: 60.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/1.046, allocations: 82.02 kB / 1.079 GB, free: 60.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/1.047, allocations: 475.8 kB / 1.079 GB, free: 60.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/1.048, allocations: 346.3 kB / 1.079 GB, free: 60.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02068/1.068, allocations: 3.893 MB / 1.083 GB, free: 59.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02027/1.088, allocations: 3.939 MB / 1.087 GB, free: 58.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0382/1.127, allocations: 6.206 MB / 1.093 GB, free: 57.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.127, allocations: 4 kB / 1.093 GB, free: 57.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.05324/1.18, allocations: 8.028 MB / 1.101 GB, free: 55.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.18, allocations: 9.875 kB / 1.101 GB, free: 55.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03592/1.216, allocations: 7.296 MB / 1.108 GB, free: 54.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.216, allocations: 2.406 kB / 1.108 GB, free: 54.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/1.23, allocations: 1.918 MB / 1.11 GB, free: 54.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.23, allocations: 1.281 kB / 1.11 GB, free: 54.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/1.243, allocations: 1.504 MB / 1.111 GB, free: 53.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008465/1.243, allocations: 203.7 kB / 1.112 GB, free: 53.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01828/1.262, allocations: 3.995 MB / 1.115 GB, free: 51.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01786/1.28, allocations: 3.93 MB / 1.119 GB, free: 49.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03014/1.31, allocations: 6.192 MB / 1.125 GB, free: 43.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/1.31, allocations: 0 / 1.125 GB, free: 43.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03798/1.348, allocations: 8.025 MB / 1.133 GB, free: 35.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.348, allocations: 11.94 kB / 1.133 GB, free: 35.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03336/1.381, allocations: 7.275 MB / 1.14 GB, free: 27.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.381, allocations: 4 kB / 1.14 GB, free: 27.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/1.395, allocations: 1.918 MB / 1.142 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.395, allocations: 0 / 1.142 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/1.408, allocations: 1.495 MB / 1.144 GB, free: 24.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008504/1.408, allocations: 211.5 kB / 1.144 GB, free: 24.36 MB / 0.8419 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.0008337/1.409, allocations: 184.2 kB / 1.144 GB, free: 24.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/1.41, allocations: 39.47 kB / 1.144 GB, free: 24.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02926/1.439, allocations: 6.7 MB / 1.151 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.439, allocations: 4 kB / 1.151 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.439, allocations: 0 / 1.151 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.439, allocations: 3.062 kB / 1.151 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/1.442, allocations: 6.486 MB / 1.157 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02624/1.469, allocations: 5.633 MB / 1.162 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01158/1.48, allocations: 1.634 MB / 1.164 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/1.48, allocations: 4 kB / 1.164 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/1.481, allocations: 175.5 kB / 1.164 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.481, allocations: 4 kB / 1.164 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.481, allocations: 4 kB / 1.164 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02855/1.509, allocations: 5.763 MB / 1.17 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.511, allocations: 0.5622 MB / 1.17 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/1.511, allocations: 4.875 kB / 1.17 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/1.522, allocations: 1.257 MB / 1.172 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.522, allocations: 43.91 kB / 1.172 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005078/1.522, allocations: 175.5 kB / 1.172 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002933/1.523, allocations: 235.2 kB / 1.172 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.497e-06/1.523, allocations: 0 / 1.172 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002578/1.525, allocations: 0.5971 MB / 1.173 GB, free: 9.355 MB / 0.8575 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.0005424/1.526, allocations: 173.9 kB / 1.173 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.05245/1.578, allocations: 10.3 MB / 1.183 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.578, allocations: 0 / 1.183 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01488/1.593, allocations: 2.915 MB / 1.186 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.594, allocations: 84.56 kB / 1.186 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.61, allocations: 3.273 MB / 1.189 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.61, allocations: 0.8001 MB / 1.19 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/1.613, allocations: 0.5528 MB / 1.19 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of SimCode: time 8.02e-07/1.613, allocations: 0 / 1.19 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of Templates: time 0.05783/1.671, allocations: 37.16 MB / 1.227 GB, free: 1.883 MB / 0.9044 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/jenkins1/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