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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001624/0.001624, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.64 kB / 0.912 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3545, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004049/0.3586, allocations: 2.842 MB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.3628, allocations: 2.959 MB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3629, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.3633, allocations: 83.55 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.3638, allocations: 213.9 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3653, allocations: 0.5955 MB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.3658, allocations: 0.5329 MB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.366, allocations: 119.1 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3662, allocations: 183.4 kB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3664, allocations: 223 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3665, allocations: 36 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000721/0.3672, allocations: 399.7 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.3673, allocations: 95.61 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.3675, allocations: 219 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000784/0.3683, allocations: 0.7206 MB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3683, allocations: 0 / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3683, allocations: 0 / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.3683, allocations: 0 / 1.077 GB, free: 1.219 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.001028/0.3694, allocations: 0.7556 MB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3694, allocations: 12.03 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09668/0.4661, allocations: 12.2 MB / 1.09 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.468, allocations: 0.917 MB / 1.091 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.4681, allocations: 24.92 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/0.4686, allocations: 28.38 kB / 1.091 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.4842, allocations: 3.738 MB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4843, allocations: 4 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/0.4846, allocations: 12 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4846, allocations: 8 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.4992, allocations: 2.961 MB / 1.097 GB, free: 12.45 MB / 0.8575 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.0144/0.5136, allocations: 17.16 MB / 1.114 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/0.5282, allocations: 2.934 MB / 1.117 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01444/0.5427, allocations: 2.795 MB / 1.12 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.5429, allocations: 31.98 kB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.5429, allocations: 30.56 kB / 1.12 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 3.557e-06/0.543, allocations: 3.938 kB / 1.12 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04459/0.5876, allocations: 8.554 MB / 1.128 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.5876, allocations: 55.41 kB / 1.128 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.5881, allocations: 341.7 kB / 1.128 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005831/0.5887, allocations: 33.7 kB / 1.129 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.589, allocations: 192.5 kB / 1.129 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.5895, allocations: 82.83 kB / 1.129 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/0.5911, allocations: 480.9 kB / 1.129 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5912, allocations: 346.8 kB / 1.13 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02031/0.6115, allocations: 3.897 MB / 1.133 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01982/0.6314, allocations: 3.929 MB / 1.137 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03304/0.6645, allocations: 6.204 MB / 1.143 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6645, allocations: 0 / 1.143 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04171/0.7062, allocations: 8.034 MB / 1.151 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.7063, allocations: 7.984 kB / 1.151 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03655/0.7429, allocations: 7.287 MB / 1.158 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.7429, allocations: 11.98 kB / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/0.7578, allocations: 1.908 MB / 1.16 GB, free: 8.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.7578, allocations: 4 kB / 1.16 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/0.7715, allocations: 1.506 MB / 1.162 GB, free: 6.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/0.7721, allocations: 211.5 kB / 1.162 GB, free: 6.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01973/0.7919, allocations: 3.985 MB / 1.166 GB, free: 2.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01947/0.8114, allocations: 3.931 MB / 1.17 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03238/0.8438, allocations: 6.196 MB / 1.176 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.8438, allocations: 0 / 1.176 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04056/0.8844, allocations: 8.025 MB / 1.183 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8844, allocations: 4 kB / 1.183 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03575/0.9202, allocations: 7.279 MB / 1.191 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.9202, allocations: 0 / 1.191 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/0.935, allocations: 1.916 MB / 1.192 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9351, allocations: 0 / 1.192 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/0.9485, allocations: 1.502 MB / 1.194 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008904/0.9495, allocations: 203.5 kB / 1.194 GB, free: 5.641 MB / 0.9512 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.001371/0.9509, allocations: 204.1 kB / 1.194 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/0.9516, allocations: 31.62 kB / 1.194 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03335/0.985, allocations: 6.7 MB / 1.201 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.9851, allocations: 7.938 kB / 1.201 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.9851, allocations: 3.938 kB / 1.201 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.9851, allocations: 0 / 1.201 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/0.9928, allocations: 6.491 MB / 1.207 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02907/1.022, allocations: 5.629 MB / 1.213 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/1.034, allocations: 1.627 MB / 1.214 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.034, allocations: 0 / 1.214 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004586/1.035, allocations: 171.6 kB / 1.214 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/1.035, allocations: 7.922 kB / 1.214 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.035, allocations: 0 / 1.214 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02889/1.064, allocations: 5.775 MB / 1.22 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/1.065, allocations: 0.5622 MB / 1.221 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004879/1.065, allocations: 8 kB / 1.221 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/1.077, allocations: 1.257 MB / 1.222 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.077, allocations: 39.91 kB / 1.222 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004446/1.077, allocations: 179.5 kB / 1.222 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002625/1.078, allocations: 239.2 kB / 1.222 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.1e-07/1.078, allocations: 0 / 1.222 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00269/1.08, allocations: 0.5856 MB / 1.223 GB, free: 6.57 MB / 0.9825 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.0006265/1.081, allocations: 175.6 kB / 1.223 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05176/1.133, allocations: 10.3 MB / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.133, allocations: 0 / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01421/1.147, allocations: 2.907 MB / 1.236 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.148, allocations: 101.2 kB / 1.236 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.163, allocations: 3.225 MB / 1.239 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.163, allocations: 0.7962 MB / 1.24 GB, free: 5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01112/1.174, allocations: 1.657 MB / 1.242 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/1.177, allocations: 0.4982 MB / 1.242 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of SimCode: time 1.954e-06/1.177, allocations: 0 / 1.242 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.6398/1.817, allocations: 84.81 MB / 1.325 GB, free: 128.9 MB / 0.9981 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