Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001351/0.001351, 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.001411/0.001411, allocations: 196.8 kB / 16.14 MB, free: 6.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.565/1.565, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8137/0.8157, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004675/0.8204, allocations: 2.882 MB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.8253, allocations: 2.972 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.8255, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.8259, allocations: 69.55 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.8264, allocations: 182.9 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.828, allocations: 0.5141 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.8287, allocations: 0.5133 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.829, allocations: 98.59 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.8292, allocations: 171.4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.8295, allocations: 211 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.8295, allocations: 24 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008972/0.8304, allocations: 371.7 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.8305, allocations: 83.61 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.8308, allocations: 199 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.8318, allocations: 0.7089 MB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.8318, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.849e-06/0.8318, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.8318, allocations: 3.938 kB / 1.025 GB, free: 9.738 MB / 0.7794 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.001248/0.8331, allocations: 0.7498 MB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8331, allocations: 12.03 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1019/0.9351, allocations: 12.21 MB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.9373, allocations: 0.9247 MB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.9374, allocations: 16.94 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/0.9379, allocations: 28.38 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.9552, allocations: 3.742 MB / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.9553, allocations: 4 kB / 1.043 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.9556, allocations: 8 kB / 1.043 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.9556, allocations: 8 kB / 1.043 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.9711, allocations: 2.961 MB / 1.046 GB, free: 4.961 MB / 0.795 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.02256/0.9937, allocations: 17.16 MB / 1.062 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.015/1.009, allocations: 2.934 MB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01502/1.024, allocations: 2.792 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/1.024, allocations: 31.97 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.024, allocations: 34.56 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 4.999e-06/1.024, allocations: 3.984 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0465/1.071, allocations: 8.545 MB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.071, allocations: 59.39 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/1.071, allocations: 337.6 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007037/1.072, allocations: 29.7 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/1.073, allocations: 208.2 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/1.073, allocations: 70.91 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/1.074, allocations: 476.9 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.075, allocations: 346.8 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02081/1.095, allocations: 3.9 MB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02072/1.116, allocations: 3.927 MB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03405/1.15, allocations: 6.208 MB / 1.092 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.15, allocations: 0 / 1.092 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04279/1.193, allocations: 8.042 MB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/1.193, allocations: 4 kB / 1.099 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03721/1.231, allocations: 7.295 MB / 1.106 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/1.231, allocations: 4 kB / 1.106 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0149/1.245, allocations: 1.912 MB / 1.108 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.246, allocations: 4 kB / 1.108 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/1.259, allocations: 1.51 MB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.26, allocations: 203.5 kB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02117/1.281, allocations: 3.989 MB / 1.114 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02055/1.302, allocations: 3.926 MB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0334/1.335, allocations: 6.196 MB / 1.124 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/1.335, allocations: 0 / 1.124 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04293/1.378, allocations: 8.029 MB / 1.132 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.378, allocations: 6.031 kB / 1.132 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03823/1.417, allocations: 7.295 MB / 1.139 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.417, allocations: 0 / 1.139 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/1.432, allocations: 1.912 MB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.432, allocations: 3.938 kB / 1.141 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/1.446, allocations: 1.495 MB / 1.142 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.447, allocations: 203.5 kB / 1.142 GB, free: 14.16 MB / 0.9044 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.001404/1.448, allocations: 204.1 kB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.449, allocations: 39.47 kB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03336/1.482, allocations: 6.695 MB / 1.149 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.482, allocations: 4 kB / 1.149 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.482, allocations: 0 / 1.149 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.482, allocations: 4 kB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/1.489, allocations: 6.491 MB / 1.155 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02942/1.519, allocations: 5.625 MB / 1.161 GB, free: 9.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01245/1.531, allocations: 1.631 MB / 1.163 GB, free: 7.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/1.531, allocations: 4 kB / 1.163 GB, free: 7.938 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007395/1.532, allocations: 171.5 kB / 1.163 GB, free: 7.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/1.532, allocations: 4 kB / 1.163 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.532, allocations: 0 / 1.163 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03048/1.563, allocations: 5.779 MB / 1.168 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.564, allocations: 0.5583 MB / 1.169 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007178/1.565, allocations: 4 kB / 1.169 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01155/1.576, allocations: 1.261 MB / 1.17 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.577, allocations: 39.91 kB / 1.17 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007613/1.578, allocations: 175.6 kB / 1.17 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003463/1.578, allocations: 239.1 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/1.578, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00325/1.581, allocations: 0.5895 MB / 1.171 GB, free: 15.09 MB / 0.9356 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.0007811/1.582, allocations: 175.6 kB / 1.171 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.05339/1.635, allocations: 10.29 MB / 1.181 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.635, allocations: 0 / 1.181 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01496/1.65, allocations: 2.907 MB / 1.184 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.652, allocations: 83.78 kB / 1.184 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.667, allocations: 3.37 MB / 1.188 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/1.668, allocations: 0.8 MB / 1.188 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.01226/1.68, allocations: 1.657 MB / 1.19 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00314/1.684, allocations: 0.4943 MB / 1.19 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of SimCode: time 1.352e-06/1.684, allocations: 0 / 1.19 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.6929/2.377, allocations: 82.58 MB / 1.271 GB, free: 223.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches