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.005785/0.005785, allocations: 105.3 kB / 15.74 MB, free: 6.488 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.001095/0.001096, allocations: 194.9 kB / 16.68 MB, free: 6.375 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 / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3706, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003785/0.3745, allocations: 2.847 MB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.3785, allocations: 2.957 MB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.3786, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3789, allocations: 83.22 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.3795, allocations: 210.6 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3809, allocations: 0.6105 MB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.3815, allocations: 0.529 MB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3817, allocations: 115.1 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.3819, allocations: 195.3 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3822, allocations: 223.1 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.3822, allocations: 36 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3829, allocations: 399.6 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.383, allocations: 91.67 kB / 1.216 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3832, allocations: 215 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.3841, allocations: 0.7245 MB / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3841, allocations: 0 / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3841, allocations: 0 / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3841, allocations: 4 kB / 1.217 GB, free: 380 kB / 0.9669 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.001036/0.3851, allocations: 0.7517 MB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3852, allocations: 12.62 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08931/0.4745, allocations: 12.21 MB / 1.229 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.4767, allocations: 0.9324 MB / 1.23 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4767, allocations: 16.94 kB / 1.23 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.4773, allocations: 32.38 kB / 1.23 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.4922, allocations: 3.746 MB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4923, allocations: 0 / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.4925, allocations: 8 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4925, allocations: 8 kB / 1.234 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.5059, allocations: 2.965 MB / 1.237 GB, free: 11.59 MB / 0.9981 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.7481/1.254, allocations: 17.14 MB / 1.254 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.268, allocations: 2.934 MB / 1.257 GB, free: 30.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01294/1.281, allocations: 2.789 MB / 1.259 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/1.281, allocations: 38.33 kB / 1.259 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.281, allocations: 42.75 kB / 1.259 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/1.281, allocations: 0 / 1.259 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.04463/1.326, allocations: 8.539 MB / 1.268 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.326, allocations: 58.08 kB / 1.268 GB, free: 30.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/1.326, allocations: 339.8 kB / 1.268 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.327, allocations: 30.98 kB / 1.268 GB, free: 30.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.327, allocations: 202.8 kB / 1.268 GB, free: 30.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/1.327, allocations: 79.84 kB / 1.268 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/1.329, allocations: 478.2 kB / 1.269 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/1.329, allocations: 345.7 kB / 1.269 GB, free: 29.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.019/1.348, allocations: 3.897 MB / 1.273 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01942/1.367, allocations: 3.93 MB / 1.277 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03107/1.398, allocations: 6.204 MB / 1.283 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/1.398, allocations: 0 / 1.283 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03966/1.438, allocations: 8.036 MB / 1.291 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.438, allocations: 5.188 kB / 1.291 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03719/1.475, allocations: 7.284 MB / 1.298 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.475, allocations: 13.95 kB / 1.298 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01471/1.49, allocations: 1.912 MB / 1.3 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/1.49, allocations: 6.625 kB / 1.3 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/1.503, allocations: 1.496 MB / 1.301 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.504, allocations: 211.6 kB / 1.301 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01999/1.524, allocations: 3.989 MB / 1.305 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01898/1.543, allocations: 3.93 MB / 1.309 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03171/1.575, allocations: 6.198 MB / 1.315 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.575, allocations: 0 / 1.315 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03914/1.614, allocations: 8.021 MB / 1.323 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.614, allocations: 4 kB / 1.323 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03351/1.648, allocations: 7.275 MB / 1.33 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.648, allocations: 3.938 kB / 1.33 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/1.661, allocations: 1.918 MB / 1.332 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.661, allocations: 4 kB / 1.332 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/1.673, allocations: 1.498 MB / 1.333 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.674, allocations: 203.5 kB / 1.334 GB, free: 15.32 MB / 1.014 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.001017/1.675, allocations: 196.2 kB / 1.334 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/1.676, allocations: 39.47 kB / 1.334 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03041/1.706, allocations: 6.682 MB / 1.34 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.706, allocations: 8 kB / 1.34 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.706, allocations: 0 / 1.34 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.706, allocations: 0 / 1.34 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/1.712, allocations: 6.486 MB / 1.347 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0276/1.739, allocations: 5.641 MB / 1.352 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01178/1.751, allocations: 1.623 MB / 1.354 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/1.751, allocations: 7.938 kB / 1.354 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005025/1.752, allocations: 176.8 kB / 1.354 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.752, allocations: 3.984 kB / 1.354 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.752, allocations: 2.625 kB / 1.354 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02805/1.78, allocations: 5.76 MB / 1.36 GB, free: 3.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.781, allocations: 0.5661 MB / 1.36 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/1.781, allocations: 7.938 kB / 1.36 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/1.792, allocations: 1.257 MB / 1.361 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.792, allocations: 47.56 kB / 1.361 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004891/1.792, allocations: 175.5 kB / 1.362 GB, free: 1.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002814/1.792, allocations: 235.2 kB / 1.362 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.793, allocations: 0 / 1.362 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002614/1.795, allocations: 0.5854 MB / 1.362 GB, free: 344 kB / 1.029 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.0005766/1.796, allocations: 185.5 kB / 1.363 GB, free: 168 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.05103/1.847, allocations: 10.28 MB / 1.373 GB, free: 5.875 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.847, allocations: 3.938 kB / 1.373 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/1.861, allocations: 2.911 MB / 1.375 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.862, allocations: 81.5 kB / 1.376 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.877, allocations: 3.227 MB / 1.379 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.878, allocations: 0.794 MB / 1.379 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00856/1.886, allocations: 1.646 MB / 1.381 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002776/1.889, allocations: 0.4982 MB / 1.382 GB, free: 12.69 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.889, allocations: 0 / 1.382 GB, free: 12.69 MB / 1.061 GB Notification: Performance of Templates: time 0.1234/2.013, allocations: 84.81 MB / 1.464 GB, free: 7.637 MB / 1.139 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