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.001312/0.001312, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 196 kB / 16.53 MB, free: 6.672 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.369/2.369, allocations: 390.2 MB / 0.6646 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8535, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003558/0.8571, allocations: 2.837 MB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003537/0.8607, allocations: 2.95 MB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.8609, allocations: 4.156 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.8612, allocations: 82.83 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.8617, allocations: 210.2 kB / 0.9555 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.8631, allocations: 0.6089 MB / 0.9561 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.8637, allocations: 0.5285 MB / 0.9566 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.864, allocations: 111.9 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.8642, allocations: 190.1 kB / 0.9569 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.8645, allocations: 214.5 kB / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.8646, allocations: 37.38 kB / 0.9572 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.8657, allocations: 398.6 kB / 0.9575 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.8658, allocations: 95.73 kB / 0.9576 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.866, allocations: 219.2 kB / 0.9578 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.8671, allocations: 0.7211 MB / 0.9585 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8671, allocations: 0 / 0.9585 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8671, allocations: 0 / 0.9585 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.8672, allocations: 0 / 0.9585 GB, free: 2.418 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.001241/0.8684, allocations: 0.7481 MB / 0.9593 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.8685, allocations: 13.91 kB / 0.9593 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.122/0.9905, allocations: 12.22 MB / 0.9712 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.9934, allocations: 0.9285 MB / 0.9721 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.9935, allocations: 20.94 kB / 0.9721 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.9946, allocations: 24.38 kB / 0.9722 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/1.013, allocations: 3.738 MB / 0.9758 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/1.013, allocations: 0 / 0.9758 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/1.013, allocations: 12 kB / 0.9758 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.013, allocations: 15.92 kB / 0.9758 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/1.027, allocations: 2.961 MB / 0.9787 GB, free: 3.902 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.01672/1.044, allocations: 17.15 MB / 0.9955 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.058, allocations: 2.942 MB / 0.9984 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/1.072, allocations: 2.792 MB / 1.001 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/1.072, allocations: 35.97 kB / 1.001 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.072, allocations: 38.5 kB / 1.001 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.624e-06/1.072, allocations: 0 / 1.001 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.05427/1.126, allocations: 8.546 MB / 1.009 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.126, allocations: 51.41 kB / 1.01 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/1.127, allocations: 341.6 kB / 1.01 GB, free: 396 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008473/1.128, allocations: 29.7 kB / 1.01 GB, free: 360 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.128, allocations: 200.3 kB / 1.01 GB, free: 156 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007034/1.129, allocations: 74.89 kB / 1.01 GB, free: 80 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002723/1.132, allocations: 480.9 kB / 1.011 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.132, allocations: 350.8 kB / 1.011 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02588/1.158, allocations: 3.885 MB / 1.015 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02196/1.18, allocations: 3.934 MB / 1.019 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03187/1.212, allocations: 6.208 MB / 1.025 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.212, allocations: 0 / 1.025 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04086/1.253, allocations: 8.034 MB / 1.032 GB, free: 9.148 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.253, allocations: 5.406 kB / 1.033 GB, free: 9.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03672/1.29, allocations: 7.299 MB / 1.04 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.29, allocations: 0 / 1.04 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/1.305, allocations: 1.916 MB / 1.042 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/1.305, allocations: 7.984 kB / 1.042 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/1.318, allocations: 1.51 MB / 1.043 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00083/1.319, allocations: 207.5 kB / 1.043 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02021/1.339, allocations: 3.989 MB / 1.047 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01945/1.359, allocations: 3.922 MB / 1.051 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03315/1.392, allocations: 6.2 MB / 1.057 GB, free: 60 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/1.392, allocations: 0 / 1.057 GB, free: 60 kB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04175/1.434, allocations: 8.026 MB / 1.065 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.434, allocations: 4 kB / 1.065 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03631/1.47, allocations: 7.279 MB / 1.072 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.47, allocations: 4 kB / 1.072 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01426/1.484, allocations: 1.912 MB / 1.074 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.485, allocations: 4 kB / 1.074 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/1.498, allocations: 1.494 MB / 1.075 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.499, allocations: 207.5 kB / 1.075 GB, free: 13.11 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.001119/1.5, allocations: 200.1 kB / 1.076 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004985/1.5, allocations: 35.53 kB / 1.076 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03172/1.532, allocations: 6.707 MB / 1.082 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.532, allocations: 0 / 1.082 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.532, allocations: 4 kB / 1.082 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.532, allocations: 3.938 kB / 1.082 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/1.538, allocations: 6.483 MB / 1.089 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02745/1.565, allocations: 5.625 MB / 1.094 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01208/1.578, allocations: 1.631 MB / 1.096 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.578, allocations: 4 kB / 1.096 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004845/1.578, allocations: 171.5 kB / 1.096 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.578, allocations: 0 / 1.096 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.578, allocations: 4 kB / 1.096 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/1.606, allocations: 5.779 MB / 1.101 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.607, allocations: 0.5584 MB / 1.102 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/1.608, allocations: 4 kB / 1.102 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/1.619, allocations: 1.257 MB / 1.103 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.619, allocations: 43.91 kB / 1.103 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006542/1.62, allocations: 175.5 kB / 1.103 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003397/1.62, allocations: 243.2 kB / 1.104 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.62, allocations: 0 / 1.104 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002628/1.623, allocations: 0.5895 MB / 1.104 GB, free: 14.04 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.0006524/1.623, allocations: 175.1 kB / 1.104 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0499/1.673, allocations: 10.3 MB / 1.114 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.673, allocations: 0 / 1.114 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.687, allocations: 2.907 MB / 1.117 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.688, allocations: 89.38 kB / 1.117 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.702, allocations: 3.241 MB / 1.121 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/1.703, allocations: 0.7923 MB / 1.121 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.01065/1.713, allocations: 1.653 MB / 1.123 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/1.716, allocations: 0.4943 MB / 1.123 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of SimCode: time 8.82e-07/1.716, allocations: 4 kB / 1.123 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.1272/1.843, allocations: 84.79 MB / 1.206 GB, free: 5.27 MB / 0.9669 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/jenkins/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