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.001374/0.001374, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001494/0.001494, allocations: 187 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.84 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8325, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00359/0.8361, allocations: 2.836 MB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.84, allocations: 2.963 MB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.8402, allocations: 4 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.8405, allocations: 87.12 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.8409, allocations: 214.5 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.8422, allocations: 0.5973 MB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.8428, allocations: 0.5407 MB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.843, allocations: 102.7 kB / 1.216 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.8432, allocations: 199.4 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.8435, allocations: 223.1 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.8435, allocations: 39.94 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007575/0.8443, allocations: 387.7 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.8444, allocations: 91.67 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.8446, allocations: 218.9 kB / 1.217 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000894/0.8455, allocations: 0.7323 MB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8455, allocations: 0 / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8455, allocations: 0 / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.8455, allocations: 0 / 1.217 GB, free: 4.379 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.001076/0.8466, allocations: 0.7478 MB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.8466, allocations: 12.03 kB / 1.218 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0964/0.943, allocations: 12.21 MB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.945, allocations: 0.9246 MB / 1.231 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.945, allocations: 20.94 kB / 1.231 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.9455, allocations: 32.38 kB / 1.231 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.9607, allocations: 3.738 MB / 1.235 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.9608, allocations: 0 / 1.235 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.9611, allocations: 8 kB / 1.235 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.9611, allocations: 8 kB / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.9751, allocations: 2.965 MB / 1.238 GB, free: 15.61 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.01423/0.9894, allocations: 17.16 MB / 1.254 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/1.003, allocations: 2.929 MB / 1.257 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/1.017, allocations: 2.792 MB / 1.26 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.017, allocations: 35.98 kB / 1.26 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.017, allocations: 34.56 kB / 1.26 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.886e-06/1.017, allocations: 0 / 1.26 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.04315/1.06, allocations: 8.553 MB / 1.268 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.061, allocations: 51.41 kB / 1.268 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/1.061, allocations: 353.5 kB / 1.269 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006203/1.062, allocations: 29.7 kB / 1.269 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/1.062, allocations: 200.4 kB / 1.269 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/1.062, allocations: 74.91 kB / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/1.063, allocations: 476.9 kB / 1.269 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.064, allocations: 342.8 kB / 1.27 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01976/1.083, allocations: 3.893 MB / 1.274 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01987/1.103, allocations: 3.931 MB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03334/1.137, allocations: 6.213 MB / 1.284 GB, free: 12.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/1.137, allocations: 4 kB / 1.284 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04262/1.179, allocations: 8.034 MB / 1.291 GB, free: 4.844 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.179, allocations: 7.984 kB / 1.291 GB, free: 4.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03793/1.217, allocations: 7.283 MB / 1.298 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.217, allocations: 0 / 1.298 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01543/1.233, allocations: 1.916 MB / 1.3 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.233, allocations: 4 kB / 1.3 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/1.247, allocations: 1.51 MB / 1.302 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.248, allocations: 211.4 kB / 1.302 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02039/1.268, allocations: 3.993 MB / 1.306 GB, free: 5.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01963/1.288, allocations: 3.922 MB / 1.31 GB, free: 1.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03355/1.322, allocations: 6.196 MB / 1.316 GB, free: 11.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/1.322, allocations: 0 / 1.316 GB, free: 11.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04224/1.364, allocations: 8.018 MB / 1.324 GB, free: 3.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.364, allocations: 4 kB / 1.324 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0377/1.402, allocations: 7.286 MB / 1.331 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/1.402, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/1.417, allocations: 1.912 MB / 1.333 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.417, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/1.431, allocations: 1.494 MB / 1.334 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008169/1.431, allocations: 203.5 kB / 1.334 GB, free: 8.816 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.001082/1.432, allocations: 200.1 kB / 1.334 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/1.433, allocations: 31.62 kB / 1.335 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03271/1.466, allocations: 6.697 MB / 1.341 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.466, allocations: 0 / 1.341 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.466, allocations: 4 kB / 1.341 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.466, allocations: 0 / 1.341 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/1.472, allocations: 6.484 MB / 1.347 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03026/1.502, allocations: 5.637 MB / 1.353 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0132/1.515, allocations: 1.627 MB / 1.354 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/1.515, allocations: 4 kB / 1.354 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007385/1.516, allocations: 175.5 kB / 1.355 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.516, allocations: 0 / 1.355 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.516, allocations: 11.92 kB / 1.355 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02943/1.546, allocations: 5.763 MB / 1.36 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.547, allocations: 0.5583 MB / 1.361 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/1.548, allocations: 8 kB / 1.361 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/1.559, allocations: 1.257 MB / 1.362 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.559, allocations: 43.91 kB / 1.362 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006303/1.56, allocations: 175.5 kB / 1.362 GB, free: 10.57 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002845/1.56, allocations: 231.2 kB / 1.363 GB, free: 10.36 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.6e-07/1.56, allocations: 0 / 1.363 GB, free: 10.36 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002844/1.563, allocations: 0.5934 MB / 1.363 GB, free: 9.762 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.0007081/1.564, allocations: 179 kB / 1.363 GB, free: 9.578 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.05249/1.616, allocations: 10.28 MB / 1.373 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.616, allocations: 0 / 1.373 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.01464/1.631, allocations: 2.911 MB / 1.376 GB, free: 12.38 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.632, allocations: 89.38 kB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/1.648, allocations: 3.258 MB / 1.379 GB, free: 8.996 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/1.648, allocations: 0.7961 MB / 1.38 GB, free: 8.176 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003554/1.652, allocations: 0.5528 MB / 1.381 GB, free: 7.621 MB / 1.107 GB Notification: Performance of SimCode: time 1.353e-06/1.652, allocations: 0 / 1.381 GB, free: 7.621 MB / 1.107 GB Notification: Performance of Templates: time 0.0541/1.706, allocations: 37.17 MB / 1.417 GB, free: 2.254 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/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