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.001533/0.001533, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001603/0.001603, 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.249/2.249, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002385, allocations: 68.94 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3744, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.007501/0.3819, allocations: 2.871 MB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007676/0.3896, allocations: 2.925 MB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.39, allocations: 4 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.3905, allocations: 67.8 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.3917, allocations: 186.4 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.3946, allocations: 0.5453 MB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3961, allocations: 0.529 MB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.3966, allocations: 122.6 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.3971, allocations: 191.3 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.3976, allocations: 219.1 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.3978, allocations: 40 kB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3993, allocations: 391.7 kB / 0.9576 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.3995, allocations: 95.61 kB / 0.9577 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.3999, allocations: 218.9 kB / 0.9579 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.401, allocations: 0.5339 MB / 0.9585 GB, free: 264 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.401, allocations: 0 / 0.9585 GB, free: 264 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/0.401, allocations: 0 / 0.9585 GB, free: 264 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.4011, allocations: 0 / 0.9585 GB, free: 264 kB / 0.7325 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.002122/0.4032, allocations: 0.7491 MB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.4033, allocations: 8.031 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1922/0.5955, allocations: 12.22 MB / 0.9711 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.5987, allocations: 0.913 MB / 0.972 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.5988, allocations: 24.94 kB / 0.9721 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.5999, allocations: 32.38 kB / 0.9721 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/0.6318, allocations: 3.738 MB / 0.9757 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.6318, allocations: 0 / 0.9757 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006185/0.6324, allocations: 12 kB / 0.9757 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6325, allocations: 8 kB / 0.9758 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.6569, allocations: 2.965 MB / 0.9787 GB, free: 11.48 MB / 0.7637 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.01493/0.6719, allocations: 17.15 MB / 0.9954 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.6864, allocations: 2.934 MB / 0.9983 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01402/0.7005, allocations: 2.792 MB / 1.001 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.7006, allocations: 35.92 kB / 1.001 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.7007, allocations: 34.56 kB / 1.001 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.265e-06/0.7007, allocations: 0 / 1.001 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.04444/0.7451, allocations: 8.554 MB / 1.009 GB, free: 8.367 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.7452, allocations: 51.41 kB / 1.009 GB, free: 8.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.7457, allocations: 341.8 kB / 1.01 GB, free: 7.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006891/0.7464, allocations: 29.7 kB / 1.01 GB, free: 7.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.7467, allocations: 196.4 kB / 1.01 GB, free: 7.73 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.7473, allocations: 82.83 kB / 1.01 GB, free: 7.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/0.7492, allocations: 480.9 kB / 1.011 GB, free: 7.172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7494, allocations: 346.8 kB / 1.011 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02033/0.7697, allocations: 3.889 MB / 1.015 GB, free: 2.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0197/0.7894, allocations: 3.934 MB / 1.019 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03248/0.822, allocations: 6.204 MB / 1.025 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.822, allocations: 0 / 1.025 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04/0.862, allocations: 8.041 MB / 1.032 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.8621, allocations: 6.188 kB / 1.032 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03699/0.8991, allocations: 7.299 MB / 1.04 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.8991, allocations: 0 / 1.04 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/0.9141, allocations: 1.916 MB / 1.041 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.9142, allocations: 4 kB / 1.041 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/0.9274, allocations: 1.502 MB / 1.043 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008758/0.9283, allocations: 203.5 kB / 1.043 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01956/0.9479, allocations: 3.995 MB / 1.047 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01972/0.9676, allocations: 3.931 MB / 1.051 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03231/1, allocations: 6.192 MB / 1.057 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/1, allocations: 0 / 1.057 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04121/1.041, allocations: 8.025 MB / 1.065 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.041, allocations: 4 kB / 1.065 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03679/1.078, allocations: 7.283 MB / 1.072 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.078, allocations: 4 kB / 1.072 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/1.093, allocations: 1.912 MB / 1.074 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.093, allocations: 4 kB / 1.074 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01312/1.106, allocations: 1.502 MB / 1.075 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008145/1.107, allocations: 203.5 kB / 1.075 GB, free: 4.68 MB / 0.8575 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.001015/1.108, allocations: 196.1 kB / 1.076 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005455/1.108, allocations: 39.47 kB / 1.076 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4948/1.603, allocations: 6.691 MB / 1.082 GB, free: 134.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.603, allocations: 3.281 kB / 1.082 GB, free: 134.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.603, allocations: 3.781 kB / 1.082 GB, free: 134.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.603, allocations: 2.938 kB / 1.082 GB, free: 134.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/1.608, allocations: 6.484 MB / 1.088 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0306/1.639, allocations: 5.629 MB / 1.094 GB, free: 126.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/1.652, allocations: 1.628 MB / 1.096 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/1.652, allocations: 1.094 kB / 1.096 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006618/1.653, allocations: 177.1 kB / 1.096 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.653, allocations: 1.031 kB / 1.096 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.653, allocations: 1.781 kB / 1.096 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03051/1.683, allocations: 5.776 MB / 1.101 GB, free: 125.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.685, allocations: 0.561 MB / 1.102 GB, free: 125.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.685, allocations: 7.656 kB / 1.102 GB, free: 125.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01234/1.698, allocations: 1.263 MB / 1.103 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/1.698, allocations: 39.75 kB / 1.103 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007907/1.699, allocations: 172.8 kB / 1.103 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003126/1.699, allocations: 238 kB / 1.104 GB, free: 125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.699, allocations: 0 / 1.104 GB, free: 125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003114/1.702, allocations: 0.5961 MB / 1.104 GB, free: 125 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.0007643/1.703, allocations: 177.2 kB / 1.104 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.05187/1.755, allocations: 10.3 MB / 1.114 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.755, allocations: 0 / 1.114 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01516/1.77, allocations: 2.906 MB / 1.117 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.772, allocations: 87.91 kB / 1.117 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.787, allocations: 3.397 MB / 1.121 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/1.787, allocations: 0.7952 MB / 1.121 GB, free: 119 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003864/1.791, allocations: 0.5568 MB / 1.122 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/1.791, allocations: 0 / 1.122 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.04607/1.837, allocations: 37.16 MB / 1.158 GB, free: 85.1 MB / 0.8575 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