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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001538/0.001538, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001345, allocations: 64.58 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3587, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004298/0.363, allocations: 2.888 MB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.3676, allocations: 2.967 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.3679, allocations: 4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.3683, allocations: 67.8 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007512/0.3691, allocations: 186.9 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3708, allocations: 0.5093 MB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.3716, allocations: 0.5095 MB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.3718, allocations: 102.5 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.3721, allocations: 175.4 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3725, allocations: 207.1 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.3725, allocations: 23.94 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008661/0.3734, allocations: 375.7 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.3735, allocations: 83.67 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.3738, allocations: 202.9 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.375, allocations: 0.7089 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.375, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.375, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.375, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 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.001532/0.3766, allocations: 0.7401 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3766, allocations: 12.03 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0954/0.472, allocations: 12.22 MB / 1.074 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4743, allocations: 0.9169 MB / 1.074 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.4744, allocations: 20.94 kB / 1.074 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008941/0.4753, allocations: 28.38 kB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.4924, allocations: 3.742 MB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4925, allocations: 3.938 kB / 1.078 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006104/0.4931, allocations: 8 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4932, allocations: 8 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.5077, allocations: 2.969 MB / 1.081 GB, free: 11.01 MB / 0.8419 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.01835/0.5261, allocations: 17.15 MB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/0.5407, allocations: 2.934 MB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01408/0.5548, allocations: 2.788 MB / 1.103 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.555, allocations: 43.84 kB / 1.103 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.555, allocations: 38.56 kB / 1.103 GB, free: 472 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.925e-06/0.555, allocations: 0 / 1.103 GB, free: 472 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.04493/0.6, allocations: 8.55 MB / 1.112 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.6, allocations: 55.39 kB / 1.112 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.6005, allocations: 341.8 kB / 1.112 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.6011, allocations: 29.7 kB / 1.112 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.6014, allocations: 200.4 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.6019, allocations: 78.83 kB / 1.112 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.6036, allocations: 476.9 kB / 1.113 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002355/0.6039, allocations: 346.8 kB / 1.113 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01989/0.6238, allocations: 3.893 MB / 1.117 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01953/0.6433, allocations: 3.931 MB / 1.121 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03266/0.676, allocations: 6.205 MB / 1.127 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.6761, allocations: 0 / 1.127 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0415/0.7176, allocations: 8.041 MB / 1.135 GB, free: 256 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7176, allocations: 4 kB / 1.135 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0362/0.7538, allocations: 7.287 MB / 1.142 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.7539, allocations: 0 / 1.142 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/0.7681, allocations: 1.919 MB / 1.144 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.7682, allocations: 4 kB / 1.144 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/0.7812, allocations: 1.502 MB / 1.145 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008032/0.782, allocations: 207.5 kB / 1.145 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02029/0.8023, allocations: 3.991 MB / 1.149 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01941/0.8218, allocations: 3.927 MB / 1.153 GB, free: 13.38 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03275/0.8546, allocations: 6.192 MB / 1.159 GB, free: 7.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.8546, allocations: 0 / 1.159 GB, free: 7.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04111/0.8957, allocations: 8.04 MB / 1.167 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.8958, allocations: 6.344 kB / 1.167 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03658/0.9324, allocations: 7.28 MB / 1.174 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.9325, allocations: 0 / 1.174 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01469/0.9471, allocations: 1.912 MB / 1.176 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.9472, allocations: 0 / 1.176 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/0.9603, allocations: 1.502 MB / 1.178 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/0.9613, allocations: 203.5 kB / 1.178 GB, free: 4.215 MB / 0.9356 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.001219/0.9625, allocations: 204.1 kB / 1.178 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/0.9632, allocations: 39.56 kB / 1.178 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03289/0.9961, allocations: 6.692 MB / 1.185 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.9962, allocations: 8 kB / 1.185 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.9962, allocations: 0 / 1.185 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.9962, allocations: 0 / 1.185 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/1.003, allocations: 6.495 MB / 1.191 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02884/1.032, allocations: 5.629 MB / 1.196 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01219/1.044, allocations: 1.631 MB / 1.198 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.044, allocations: 0 / 1.198 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006708/1.045, allocations: 179.5 kB / 1.198 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.045, allocations: 0 / 1.198 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.045, allocations: 0 / 1.198 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.074, allocations: 5.775 MB / 1.204 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.076, allocations: 0.5661 MB / 1.204 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007207/1.076, allocations: 4 kB / 1.204 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01126/1.088, allocations: 1.257 MB / 1.206 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.088, allocations: 39.91 kB / 1.206 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007033/1.089, allocations: 179.5 kB / 1.206 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003219/1.089, allocations: 239.2 kB / 1.206 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.61e-07/1.089, allocations: 0 / 1.206 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003097/1.092, allocations: 0.5895 MB / 1.207 GB, free: 5.137 MB / 0.9669 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.0007168/1.093, allocations: 177.7 kB / 1.207 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.05123/1.144, allocations: 10.3 MB / 1.217 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.144, allocations: 0 / 1.217 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0144/1.159, allocations: 2.903 MB / 1.22 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.16, allocations: 85.39 kB / 1.22 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.175, allocations: 3.354 MB / 1.223 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/1.176, allocations: 0.7923 MB / 1.224 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01249/1.188, allocations: 1.665 MB / 1.225 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/1.191, allocations: 0.4943 MB / 1.226 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/1.191, allocations: 8 kB / 1.226 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of Templates: time 0.759/1.95, allocations: 82.59 MB / 1.307 GB, free: 179.3 MB / 1.014 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