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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001293/0.001294, allocations: 100 kB / 15.05 MB, free: 1.105 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.001335/0.001335, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.687/2.687, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 12 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9994/0.9998, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002863/1.003, allocations: 2.259 MB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003776/1.007, allocations: 2.593 MB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/1.007, allocations: 3.75 kB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/1.007, allocations: 55.69 kB / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005614/1.008, allocations: 225.8 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/1.009, allocations: 0.4931 MB / 0.959 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005942/1.01, allocations: 391.1 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/1.01, allocations: 79.17 kB / 0.9595 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/1.01, allocations: 172.7 kB / 0.9596 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/1.01, allocations: 185.5 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/1.01, allocations: 19.25 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/1.011, allocations: 376.8 kB / 0.9602 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/1.011, allocations: 71.44 kB / 0.9602 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/1.012, allocations: 96.73 kB / 0.9603 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006468/1.012, allocations: 0.5167 MB / 0.9608 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/1.012, allocations: 0 / 0.9608 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/1.012, allocations: 0 / 0.9608 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.906e-06/1.012, allocations: 0 / 0.9608 GB, free: 2.645 MB / 0.7169 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.0009636/1.013, allocations: 0.6857 MB / 0.9615 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.013, allocations: 9.562 kB / 0.9615 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09211/1.105, allocations: 10.6 MB / 0.9719 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/1.108, allocations: 0.9119 MB / 0.9728 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.108, allocations: 20.56 kB / 0.9728 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/1.108, allocations: 28 kB / 0.9728 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/1.124, allocations: 3.566 MB / 0.9763 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.124, allocations: 0 / 0.9763 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/1.124, allocations: 8 kB / 0.9763 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/1.124, allocations: 8 kB / 0.9763 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/1.138, allocations: 2.797 MB / 0.979 GB, free: 5.863 MB / 0.7325 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.01544/1.153, allocations: 17.16 MB / 0.9958 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.167, allocations: 2.766 MB / 0.9985 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/1.167, allocations: 31.98 kB / 0.9985 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.167, allocations: 38.55 kB / 0.9986 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/1.167, allocations: 0 / 0.9986 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.04464/1.212, allocations: 8.264 MB / 1.007 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.212, allocations: 55.34 kB / 1.007 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/1.212, allocations: 345.7 kB / 1.007 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007316/1.213, allocations: 29.7 kB / 1.007 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/1.213, allocations: 200.3 kB / 1.007 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/1.214, allocations: 74.94 kB / 1.007 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/1.214, allocations: 4 kB / 1.007 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.214, allocations: 342.8 kB / 1.008 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01948/1.234, allocations: 3.634 MB / 1.011 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01991/1.254, allocations: 3.677 MB / 1.015 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/1.273, allocations: 3.353 MB / 1.018 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.273, allocations: 0 / 1.018 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04182/1.315, allocations: 7.525 MB / 1.025 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.315, allocations: 105.2 kB / 1.026 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03639/1.351, allocations: 6.834 MB / 1.032 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/1.351, allocations: 0 / 1.032 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/1.366, allocations: 1.697 MB / 1.034 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.366, allocations: 0 / 1.034 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01329/1.379, allocations: 1.28 MB / 1.035 GB, free: 8.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.38, allocations: 215.5 kB / 1.035 GB, free: 8.512 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.38, allocations: 8 kB / 1.035 GB, free: 8.504 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04059/1.421, allocations: 7.458 MB / 1.043 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03632/1.457, allocations: 6.843 MB / 1.049 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.457, allocations: 4 kB / 1.049 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/1.472, allocations: 1.689 MB / 1.051 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.472, allocations: 7.938 kB / 1.051 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/1.485, allocations: 1.28 MB / 1.052 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.486, allocations: 207.5 kB / 1.052 GB, free: 7 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009791/1.487, allocations: 221 kB / 1.053 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/1.488, allocations: 35.53 kB / 1.053 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03203/1.52, allocations: 6.355 MB / 1.059 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.52, allocations: 4 kB / 1.059 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.52, allocations: 0 / 1.059 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.52, allocations: 7.984 kB / 1.059 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/1.526, allocations: 6.483 MB / 1.065 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02825/1.555, allocations: 5.29 MB / 1.07 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/1.567, allocations: 1.447 MB / 1.072 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.567, allocations: 4 kB / 1.072 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005326/1.568, allocations: 175.5 kB / 1.072 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.568, allocations: 0 / 1.072 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.568, allocations: 0 / 1.072 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/1.596, allocations: 5.432 MB / 1.077 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.598, allocations: 0.5623 MB / 1.078 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/1.598, allocations: 15.88 kB / 1.078 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/1.609, allocations: 1.077 MB / 1.079 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.61, allocations: 43.91 kB / 1.079 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005692/1.61, allocations: 175.5 kB / 1.079 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003273/1.611, allocations: 231.2 kB / 1.079 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/1.611, allocations: 0 / 1.079 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003376/1.614, allocations: 0.5934 MB / 1.08 GB, free: 9.297 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000766/1.615, allocations: 179 kB / 1.08 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.05078/1.665, allocations: 9.667 MB / 1.089 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.666, allocations: 0 / 1.089 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/1.68, allocations: 2.736 MB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/1.681, allocations: 74.55 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.695, allocations: 3.193 MB / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/1.695, allocations: 0.8 MB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.01114/1.707, allocations: 1.638 MB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/1.709, allocations: 0.5021 MB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/1.709, allocations: 0 / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of Templates: time 0.1249/1.834, allocations: 79.26 MB / 1.176 GB, free: 6.941 MB / 0.9356 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","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches