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.001382/0.001382, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001441/0.001441, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.415/2.415, allocations: 437 MB / 0.7107 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 72.42 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2573, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004096/0.2615, allocations: 2.878 MB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.2654, allocations: 2.921 MB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.2656, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.2659, allocations: 59.83 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.2666, allocations: 195.3 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.268, allocations: 0.5373 MB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.2687, allocations: 0.529 MB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2689, allocations: 114.6 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2692, allocations: 195.3 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.2694, allocations: 215.1 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.2695, allocations: 40 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.2702, allocations: 395.6 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.2703, allocations: 91.67 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2705, allocations: 219 kB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.2712, allocations: 0.5378 MB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2713, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2713, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2713, allocations: 3.938 kB / 1.026 GB, free: 2.062 MB / 0.795 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.001023/0.2723, allocations: 0.744 MB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2723, allocations: 8.922 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1128/0.3852, allocations: 12.22 MB / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.3872, allocations: 0.9247 MB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.3872, allocations: 20.94 kB / 1.04 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007458/0.388, allocations: 28.36 kB / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4048, allocations: 3.738 MB / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4048, allocations: 0 / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/0.4052, allocations: 12 kB / 1.043 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4052, allocations: 4 kB / 1.043 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4203, allocations: 2.972 MB / 1.046 GB, free: 13.28 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.01599/0.4363, allocations: 17.16 MB / 1.063 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.4511, allocations: 2.934 MB / 1.066 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01429/0.4654, allocations: 2.788 MB / 1.069 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.4656, allocations: 35.98 kB / 1.069 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4656, allocations: 30.56 kB / 1.069 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.364e-06/0.4656, allocations: 4 kB / 1.069 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.4974/0.963, allocations: 8.539 MB / 1.077 GB, free: 61.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.9631, allocations: 54.09 kB / 1.077 GB, free: 61.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.9635, allocations: 345.4 kB / 1.077 GB, free: 61.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000567/0.9641, allocations: 31.05 kB / 1.077 GB, free: 61.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.9643, allocations: 200.9 kB / 1.078 GB, free: 61.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.9646, allocations: 76.97 kB / 1.078 GB, free: 61.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.9663, allocations: 480 kB / 1.078 GB, free: 61.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.9663, allocations: 341.8 kB / 1.079 GB, free: 60.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02074/0.9871, allocations: 3.897 MB / 1.082 GB, free: 60.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02099/1.008, allocations: 3.928 MB / 1.086 GB, free: 59.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03363/1.042, allocations: 6.211 MB / 1.092 GB, free: 58.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.042, allocations: 0 / 1.092 GB, free: 58.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04116/1.083, allocations: 8.033 MB / 1.1 GB, free: 56.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.083, allocations: 5.578 kB / 1.1 GB, free: 56.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03805/1.121, allocations: 7.294 MB / 1.107 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.121, allocations: 1.75 kB / 1.107 GB, free: 54.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/1.136, allocations: 1.917 MB / 1.109 GB, free: 54.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/1.136, allocations: 4.5 kB / 1.109 GB, free: 54.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/1.149, allocations: 1.507 MB / 1.111 GB, free: 54.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.15, allocations: 213 kB / 1.111 GB, free: 54.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0198/1.17, allocations: 3.985 MB / 1.115 GB, free: 52.37 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01865/1.189, allocations: 3.935 MB / 1.119 GB, free: 50.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03074/1.22, allocations: 6.192 MB / 1.125 GB, free: 44.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/1.22, allocations: 0 / 1.125 GB, free: 44.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03796/1.258, allocations: 8.033 MB / 1.132 GB, free: 36.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.258, allocations: 4 kB / 1.132 GB, free: 36.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03423/1.292, allocations: 7.283 MB / 1.14 GB, free: 28.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.292, allocations: 0 / 1.14 GB, free: 28.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/1.306, allocations: 1.916 MB / 1.141 GB, free: 27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.306, allocations: 0 / 1.141 GB, free: 27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/1.32, allocations: 1.499 MB / 1.143 GB, free: 25.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009396/1.321, allocations: 203.5 kB / 1.143 GB, free: 25.3 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.001137/1.322, allocations: 192.2 kB / 1.143 GB, free: 25.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/1.323, allocations: 43.47 kB / 1.143 GB, free: 25.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/1.354, allocations: 6.701 MB / 1.15 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.354, allocations: 0 / 1.15 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.354, allocations: 4 kB / 1.15 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.354, allocations: 3.984 kB / 1.15 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/1.358, allocations: 6.478 MB / 1.156 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02717/1.385, allocations: 5.633 MB / 1.162 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01231/1.398, allocations: 1.631 MB / 1.163 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/1.398, allocations: 11.92 kB / 1.163 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000579/1.398, allocations: 171.5 kB / 1.163 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.398, allocations: 3.656 kB / 1.163 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.398, allocations: 4 kB / 1.163 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02832/1.427, allocations: 5.771 MB / 1.169 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.428, allocations: 0.5583 MB / 1.17 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.428, allocations: 7.984 kB / 1.17 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01164/1.44, allocations: 1.261 MB / 1.171 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.44, allocations: 39.92 kB / 1.171 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006186/1.441, allocations: 179.5 kB / 1.171 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002816/1.441, allocations: 235.2 kB / 1.171 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.893e-06/1.441, allocations: 0 / 1.171 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002915/1.444, allocations: 0.597 MB / 1.172 GB, free: 10.27 MB / 0.8575 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.0007027/1.445, allocations: 177.5 kB / 1.172 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.05127/1.496, allocations: 10.3 MB / 1.182 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.496, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01469/1.511, allocations: 2.911 MB / 1.185 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.512, allocations: 78.53 kB / 1.185 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.527, allocations: 3.397 MB / 1.188 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/1.528, allocations: 0.7923 MB / 1.189 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003497/1.531, allocations: 0.5528 MB / 1.19 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of SimCode: time 6.02e-07/1.531, allocations: 4 kB / 1.19 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of Templates: time 0.05285/1.584, allocations: 37.16 MB / 1.226 GB, free: 2.688 MB / 0.9044 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=480 -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/jenkins1/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