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.007814/0.007814, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001893/0.001893, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9986/0.9999, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003813/1.004, allocations: 2.848 MB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004011/1.008, allocations: 2.959 MB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/1.008, allocations: 4 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/1.008, allocations: 83.12 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004738/1.009, allocations: 213.8 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/1.01, allocations: 0.6051 MB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/1.011, allocations: 0.5329 MB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/1.011, allocations: 114.7 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/1.011, allocations: 195.4 kB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/1.012, allocations: 219.1 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/1.012, allocations: 36 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006942/1.012, allocations: 391.7 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/1.012, allocations: 95.62 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/1.013, allocations: 214.9 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008582/1.013, allocations: 0.7323 MB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.013, allocations: 4 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.013, allocations: 0 / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.013, allocations: 0 / 1.217 GB, free: 4.398 MB / 0.9356 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.001046/1.014, allocations: 0.7439 MB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.015, allocations: 12.03 kB / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09966/1.114, allocations: 12.21 MB / 1.229 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/1.117, allocations: 0.9324 MB / 1.23 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/1.117, allocations: 16.94 kB / 1.23 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007812/1.117, allocations: 28.38 kB / 1.23 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/1.135, allocations: 3.73 MB / 1.234 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.135, allocations: 4 kB / 1.234 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/1.135, allocations: 8 kB / 1.234 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/1.135, allocations: 11.98 kB / 1.234 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.15, allocations: 2.965 MB / 1.237 GB, free: 15.63 MB / 0.9669 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.01763/1.168, allocations: 17.16 MB / 1.254 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/1.184, allocations: 2.93 MB / 1.257 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01559/1.199, allocations: 2.792 MB / 1.259 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/1.2, allocations: 31.98 kB / 1.259 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.2, allocations: 34.5 kB / 1.259 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.415e-06/1.2, allocations: 4 kB / 1.259 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.04778/1.247, allocations: 8.547 MB / 1.268 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.248, allocations: 55.41 kB / 1.268 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/1.248, allocations: 345.6 kB / 1.268 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007103/1.249, allocations: 25.7 kB / 1.268 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/1.249, allocations: 208.4 kB / 1.268 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/1.25, allocations: 70.91 kB / 1.268 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.251, allocations: 484.9 kB / 1.269 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.252, allocations: 342.8 kB / 1.269 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02086/1.273, allocations: 3.889 MB / 1.273 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02099/1.294, allocations: 3.934 MB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03552/1.329, allocations: 6.205 MB / 1.283 GB, free: 12.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.329, allocations: 0 / 1.283 GB, free: 12.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04389/1.373, allocations: 8.041 MB / 1.291 GB, free: 4.867 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.373, allocations: 4 kB / 1.291 GB, free: 4.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03992/1.413, allocations: 7.291 MB / 1.298 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.413, allocations: 0 / 1.298 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01549/1.429, allocations: 1.916 MB / 1.3 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.429, allocations: 4 kB / 1.3 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/1.443, allocations: 1.506 MB / 1.301 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007197/1.444, allocations: 207.5 kB / 1.301 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02166/1.465, allocations: 3.993 MB / 1.305 GB, free: 5.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02119/1.487, allocations: 3.922 MB / 1.309 GB, free: 1.996 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03531/1.522, allocations: 6.196 MB / 1.315 GB, free: 11.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/1.522, allocations: 0 / 1.315 GB, free: 11.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04521/1.567, allocations: 8.025 MB / 1.323 GB, free: 3.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.567, allocations: 7.984 kB / 1.323 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04034/1.608, allocations: 7.279 MB / 1.33 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.608, allocations: 4.094 kB / 1.33 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/1.624, allocations: 1.908 MB / 1.332 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.624, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01454/1.638, allocations: 1.502 MB / 1.333 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/1.639, allocations: 203.5 kB / 1.334 GB, free: 8.836 MB / 1.061 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.0009825/1.64, allocations: 208.1 kB / 1.334 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005604/1.641, allocations: 31.62 kB / 1.334 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/1.675, allocations: 6.689 MB / 1.34 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.675, allocations: 0 / 1.34 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.675, allocations: 4 kB / 1.34 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.675, allocations: 0 / 1.34 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/1.68, allocations: 6.484 MB / 1.347 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03119/1.712, allocations: 5.641 MB / 1.352 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01365/1.725, allocations: 1.631 MB / 1.354 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/1.725, allocations: 4 kB / 1.354 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005865/1.726, allocations: 175.5 kB / 1.354 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/1.726, allocations: 0 / 1.354 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.726, allocations: 4 kB / 1.354 GB, free: 2.438 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03164/1.758, allocations: 5.767 MB / 1.36 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.759, allocations: 0.5544 MB / 1.36 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/1.76, allocations: 4 kB / 1.36 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01221/1.772, allocations: 1.257 MB / 1.361 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.772, allocations: 43.91 kB / 1.361 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006286/1.773, allocations: 175.5 kB / 1.362 GB, free: 10.6 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002934/1.773, allocations: 243.1 kB / 1.362 GB, free: 10.37 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.31e-07/1.773, allocations: 0 / 1.362 GB, free: 10.37 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002863/1.776, allocations: 0.5895 MB / 1.362 GB, free: 9.777 MB / 1.092 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.0006259/1.777, allocations: 171.1 kB / 1.363 GB, free: 9.602 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.05602/1.833, allocations: 10.29 MB / 1.373 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.833, allocations: 0 / 1.373 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/1.849, allocations: 2.908 MB / 1.375 GB, free: 12.39 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.85, allocations: 85.38 kB / 1.376 GB, free: 12.31 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.866, allocations: 3.228 MB / 1.379 GB, free: 9.055 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.866, allocations: 0.8001 MB / 1.379 GB, free: 8.23 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008724/1.875, allocations: 1.634 MB / 1.381 GB, free: 6.598 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/1.878, allocations: 0.5021 MB / 1.382 GB, free: 6.094 MB / 1.107 GB Notification: Performance of SimCode: time 8.52e-07/1.878, allocations: 0 / 1.382 GB, free: 6.094 MB / 1.107 GB Notification: Performance of Templates: time 0.1374/2.015, allocations: 86.41 MB / 1.466 GB, free: 15.4 MB / 1.201 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