Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001141/0.001141, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001134/0.001134, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 59.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7487, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003534/0.7523, allocations: 2.841 MB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.7562, allocations: 2.958 MB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.7564, allocations: 3.719 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.7568, allocations: 77.78 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.7574, allocations: 216 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.7589, allocations: 0.6095 MB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.7596, allocations: 0.5315 MB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.7599, allocations: 114.2 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.7601, allocations: 198 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.7604, allocations: 218.8 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.7605, allocations: 37.66 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009342/0.7614, allocations: 394.9 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.7615, allocations: 91.02 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.7617, allocations: 215.2 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.7628, allocations: 0.731 MB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7628, allocations: 3.938 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7628, allocations: 0.9688 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.7628, allocations: 4 kB / 1.098 GB, free: 15.81 MB / 0.8731 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.001207/0.7641, allocations: 0.7423 MB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7641, allocations: 9.531 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09442/0.8585, allocations: 12.21 MB / 1.11 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.8609, allocations: 0.9315 MB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.861, allocations: 19.22 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000708/0.8617, allocations: 26.47 kB / 1.111 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.8783, allocations: 3.741 MB / 1.115 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8783, allocations: 0 / 1.115 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.8786, allocations: 10.28 kB / 1.115 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.8787, allocations: 6.25 kB / 1.115 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.8937, allocations: 2.971 MB / 1.118 GB, free: 12.66 MB / 0.8731 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.01872/0.9125, allocations: 17.14 MB / 1.135 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.9274, allocations: 2.938 MB / 1.137 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0146/0.942, allocations: 2.793 MB / 1.14 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.9422, allocations: 31.08 kB / 1.14 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.9422, allocations: 36.73 kB / 1.14 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.315e-06/0.9423, allocations: 0 / 1.14 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04583/0.9881, allocations: 8.549 MB / 1.149 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.9882, allocations: 57.91 kB / 1.149 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.9886, allocations: 336.8 kB / 1.149 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000886/0.9895, allocations: 30.86 kB / 1.149 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.9898, allocations: 202.6 kB / 1.149 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.9902, allocations: 68.61 kB / 1.149 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.9916, allocations: 480.2 kB / 1.15 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9917, allocations: 351.5 kB / 1.15 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01988/1.012, allocations: 3.889 MB / 1.154 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02021/1.032, allocations: 3.928 MB / 1.158 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03297/1.065, allocations: 6.214 MB / 1.164 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.065, allocations: 0 / 1.164 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04051/1.105, allocations: 8.037 MB / 1.172 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.106, allocations: 6.656 kB / 1.172 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03624/1.142, allocations: 7.283 MB / 1.179 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/1.142, allocations: 4 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/1.156, allocations: 1.912 MB / 1.181 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.156, allocations: 7.938 kB / 1.181 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/1.169, allocations: 1.51 MB / 1.182 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.171, allocations: 211.4 kB / 1.182 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01947/1.19, allocations: 3.981 MB / 1.186 GB, free: 6.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01921/1.209, allocations: 3.923 MB / 1.19 GB, free: 2.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03223/1.242, allocations: 6.207 MB / 1.196 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/1.242, allocations: 0 / 1.196 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04074/1.282, allocations: 8.029 MB / 1.204 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.282, allocations: 8 kB / 1.204 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03607/1.318, allocations: 7.268 MB / 1.211 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.318, allocations: 7.984 kB / 1.211 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/1.333, allocations: 1.916 MB / 1.213 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.333, allocations: 0 / 1.213 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/1.345, allocations: 1.491 MB / 1.214 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009701/1.346, allocations: 211.5 kB / 1.214 GB, free: 9.547 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.001049/1.347, allocations: 200.1 kB / 1.215 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/1.348, allocations: 31.53 kB / 1.215 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03215/1.38, allocations: 6.696 MB / 1.221 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.38, allocations: 4 kB / 1.221 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.38, allocations: 4 kB / 1.221 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.38, allocations: 3.984 kB / 1.221 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/1.386, allocations: 6.483 MB / 1.228 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02905/1.415, allocations: 5.622 MB / 1.233 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01208/1.427, allocations: 1.631 MB / 1.235 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/1.427, allocations: 4 kB / 1.235 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006684/1.428, allocations: 171.5 kB / 1.235 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.428, allocations: 7.984 kB / 1.235 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.428, allocations: 0 / 1.235 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02779/1.456, allocations: 5.779 MB / 1.241 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.457, allocations: 0.5622 MB / 1.241 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/1.458, allocations: 11.94 kB / 1.241 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01059/1.468, allocations: 1.257 MB / 1.242 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.469, allocations: 39.91 kB / 1.242 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006494/1.469, allocations: 175.5 kB / 1.242 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00028/1.47, allocations: 235.2 kB / 1.243 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.47, allocations: 0 / 1.243 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002621/1.472, allocations: 0.5934 MB / 1.243 GB, free: 10.48 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.0006061/1.473, allocations: 171.1 kB / 1.243 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05134/1.524, allocations: 10.28 MB / 1.254 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.524, allocations: 0 / 1.254 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/1.539, allocations: 2.911 MB / 1.256 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/1.54, allocations: 81.41 kB / 1.256 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.555, allocations: 3.258 MB / 1.26 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/1.555, allocations: 0.7923 MB / 1.26 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003409/1.558, allocations: 0.5606 MB / 1.261 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.558, allocations: 0 / 1.261 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.04881/1.607, allocations: 37.16 MB / 1.297 GB, free: 2.984 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches