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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001361/0.001361, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.001528/0.001529, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 442.5 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.09 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3353, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003902/0.3392, allocations: 2.864 MB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.3433, allocations: 2.948 MB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3435, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3438, allocations: 79.28 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.3444, allocations: 210.5 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.346, allocations: 0.6111 MB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.3466, allocations: 0.5251 MB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.3468, allocations: 122.6 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.347, allocations: 183.4 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.3473, allocations: 223.1 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.3473, allocations: 43.94 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.3482, allocations: 387.7 kB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.3482, allocations: 91.67 kB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3484, allocations: 218.9 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.3493, allocations: 0.7284 MB / 1.036 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3493, allocations: 0 / 1.036 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3493, allocations: 3.938 kB / 1.036 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3493, allocations: 0 / 1.036 GB, free: 8.82 MB / 0.8106 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.001063/0.3504, allocations: 0.7518 MB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3504, allocations: 8.031 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09206/0.4425, allocations: 12.21 MB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.4451, allocations: 0.9209 MB / 1.049 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.4451, allocations: 20.94 kB / 1.049 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.4456, allocations: 28.31 kB / 1.049 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.4603, allocations: 3.746 MB / 1.053 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4604, allocations: 0 / 1.053 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.4607, allocations: 12 kB / 1.053 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4607, allocations: 4 kB / 1.053 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.4742, allocations: 2.965 MB / 1.056 GB, free: 4.047 MB / 0.8262 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.701/1.175, allocations: 17.15 MB / 1.073 GB, free: 53.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.19, allocations: 2.933 MB / 1.075 GB, free: 53.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/1.204, allocations: 2.788 MB / 1.078 GB, free: 53.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/1.204, allocations: 35.89 kB / 1.078 GB, free: 53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.204, allocations: 39.22 kB / 1.078 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.435e-06/1.204, allocations: 1.25 kB / 1.078 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.04685/1.251, allocations: 8.547 MB / 1.087 GB, free: 51.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.251, allocations: 56.78 kB / 1.087 GB, free: 51.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/1.252, allocations: 341.9 kB / 1.087 GB, free: 51.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0007051/1.252, allocations: 29.7 kB / 1.087 GB, free: 51.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/1.253, allocations: 202.5 kB / 1.087 GB, free: 50.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/1.253, allocations: 72.5 kB / 1.087 GB, free: 50.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/1.254, allocations: 483.2 kB / 1.088 GB, free: 50.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/1.255, allocations: 345.3 kB / 1.088 GB, free: 50.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01917/1.274, allocations: 3.895 MB / 1.092 GB, free: 49.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02047/1.294, allocations: 3.926 MB / 1.096 GB, free: 48.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03247/1.327, allocations: 6.208 MB / 1.102 GB, free: 47.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.327, allocations: 1.656 kB / 1.102 GB, free: 47.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03847/1.365, allocations: 8.029 MB / 1.11 GB, free: 45.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.365, allocations: 9.531 kB / 1.11 GB, free: 45.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03321/1.399, allocations: 7.277 MB / 1.117 GB, free: 43.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/1.399, allocations: 9.172 kB / 1.117 GB, free: 43.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/1.412, allocations: 1.917 MB / 1.119 GB, free: 42.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.412, allocations: 1.906 kB / 1.119 GB, free: 42.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/1.424, allocations: 1.512 MB / 1.12 GB, free: 42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009096/1.425, allocations: 204.8 kB / 1.12 GB, free: 41.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01685/1.441, allocations: 3.99 MB / 1.124 GB, free: 38.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01726/1.459, allocations: 3.925 MB / 1.128 GB, free: 34.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02883/1.488, allocations: 6.203 MB / 1.134 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/1.488, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03539/1.523, allocations: 8.017 MB / 1.142 GB, free: 20.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.523, allocations: 10.19 kB / 1.142 GB, free: 20.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03147/1.555, allocations: 7.275 MB / 1.149 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/1.555, allocations: 7.938 kB / 1.149 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01319/1.568, allocations: 1.919 MB / 1.151 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.568, allocations: 0 / 1.151 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/1.58, allocations: 1.494 MB / 1.152 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009565/1.581, allocations: 207.5 kB / 1.153 GB, free: 9.266 MB / 0.8419 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.0009575/1.582, allocations: 192.1 kB / 1.153 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/1.583, allocations: 35.61 kB / 1.153 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/1.609, allocations: 6.701 MB / 1.159 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.609, allocations: 4.875 kB / 1.159 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.609, allocations: 0 / 1.159 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.609, allocations: 3.984 kB / 1.159 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/1.614, allocations: 6.492 MB / 1.166 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02659/1.641, allocations: 5.626 MB / 1.171 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01149/1.653, allocations: 1.627 MB / 1.173 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/1.653, allocations: 5.625 kB / 1.173 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005143/1.653, allocations: 175.5 kB / 1.173 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.653, allocations: 4 kB / 1.173 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.653, allocations: 6.719 kB / 1.173 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/1.68, allocations: 5.764 MB / 1.179 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.681, allocations: 0.5584 MB / 1.179 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/1.682, allocations: 7.938 kB / 1.179 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/1.692, allocations: 1.26 MB / 1.18 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.692, allocations: 39.91 kB / 1.18 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006055/1.693, allocations: 171.6 kB / 1.181 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003649/1.693, allocations: 239.2 kB / 1.181 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.11e-07/1.693, allocations: 0 / 1.181 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002883/1.696, allocations: 0.5957 MB / 1.181 GB, free: 10.25 MB / 0.8731 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.0006778/1.697, allocations: 180.3 kB / 1.182 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0465/1.743, allocations: 10.28 MB / 1.192 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.743, allocations: 0 / 1.192 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/1.757, allocations: 2.907 MB / 1.194 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.758, allocations: 89.12 kB / 1.195 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.772, allocations: 3.233 MB / 1.198 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/1.772, allocations: 0.796 MB / 1.198 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.008202/1.78, allocations: 1.63 MB / 1.2 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/1.783, allocations: 0.5021 MB / 1.201 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of SimCode: time 6.81e-07/1.783, allocations: 0 / 1.201 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of Templates: time 0.1264/1.91, allocations: 84.77 MB / 1.283 GB, free: 1.57 MB / 0.9669 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 -s cvode -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