Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9059/0.9059, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.001/2.001, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.1e-05, allocations: 10.02 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1573/0.1574, allocations: 148.6 MB / 1.025 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.163, allocations: 4.316 MB / 1.029 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.1637, allocations: 47.62 kB / 1.029 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.1644, allocations: 301.8 kB / 1.029 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.1664, allocations: 1.449 MB / 1.03 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1675, allocations: 0.7365 MB / 1.031 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.17, allocations: 2.972 MB / 1.034 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.1708, allocations: 0.7409 MB / 1.035 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.1728, allocations: 1.597 MB / 1.036 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009833/0.1738, allocations: 0.888 MB / 1.037 GB, free: 3.805 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1739, allocations: 116 kB / 1.037 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/0.1747, allocations: 462.9 kB / 1.038 GB, free: 3.238 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.175, allocations: 490.6 kB / 1.038 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.1754, allocations: 494.9 kB / 1.039 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1767, allocations: 1.227 MB / 1.04 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1767, allocations: 0 / 1.04 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1767, allocations: 0 / 1.04 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.1768, allocations: 3.938 kB / 1.04 GB, free: 1.039 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001945/0.1787, allocations: 1.561 MB / 1.041 GB, free: 15.43 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1787, allocations: 8.031 kB / 1.041 GB, free: 15.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.1804, allocations: 0.5886 MB / 1.042 GB, free: 14.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.1813, allocations: 0.7533 MB / 1.043 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.1813, allocations: 66 kB / 1.043 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1814, allocations: 83.98 kB / 1.043 GB, free: 13.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1826, allocations: 0.9164 MB / 1.044 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.1826, allocations: 0 / 1.044 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.1827, allocations: 43.98 kB / 1.044 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.1827, allocations: 37.98 kB / 1.044 GB, free: 12.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.1832, allocations: 361.5 kB / 1.044 GB, free: 12.46 MB / 1.01 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.003205/0.1864, allocations: 3.085 MB / 1.047 GB, free: 9.289 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.187, allocations: 433.1 kB / 1.048 GB, free: 8.855 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.1874, allocations: 261.9 kB / 1.048 GB, free: 8.598 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.1874, allocations: 12.66 kB / 1.048 GB, free: 8.586 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1874, allocations: 46.05 kB / 1.048 GB, free: 8.531 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/0.1874, allocations: 4 kB / 1.048 GB, free: 8.527 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.0008602/0.1883, allocations: 0.5715 MB / 1.049 GB, free: 7.949 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1883, allocations: 56.06 kB / 1.049 GB, free: 7.883 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.1887, allocations: 0.6202 MB / 1.049 GB, free: 7.246 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.1888, allocations: 37.7 kB / 1.049 GB, free: 7.203 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.189, allocations: 0.5147 MB / 1.05 GB, free: 6.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1892, allocations: 269.7 kB / 1.05 GB, free: 6.414 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1893, allocations: 148.2 kB / 1.05 GB, free: 6.262 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1895, allocations: 0.5857 MB / 1.051 GB, free: 5.664 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1896, allocations: 101.9 kB / 1.051 GB, free: 5.566 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.1899, allocations: 324.5 kB / 1.051 GB, free: 5.172 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.1903, allocations: 482.8 kB / 1.052 GB, free: 4.617 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1903, allocations: 4 kB / 1.052 GB, free: 4.613 MB / 1.01 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006378/0.191, allocations: 0.5554 MB / 1.052 GB, free: 4.051 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.191, allocations: 8 kB / 1.052 GB, free: 4.043 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.191, allocations: 4 kB / 1.052 GB, free: 4.039 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.191, allocations: 8 kB / 1.052 GB, free: 4.031 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.1914, allocations: 175.8 kB / 1.052 GB, free: 3.859 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1915, allocations: 11.94 kB / 1.052 GB, free: 3.848 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.1919, allocations: 79.64 kB / 1.052 GB, free: 3.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1919, allocations: 28 kB / 1.052 GB, free: 3.742 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 94 * 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.0002034/0.1921, allocations: 204.3 kB / 1.053 GB, free: 3.531 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1923, allocations: 111.4 kB / 1.053 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1924, allocations: 103.6 kB / 1.053 GB, free: 3.309 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1924, allocations: 8 kB / 1.053 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1924, allocations: 0 / 1.053 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000472/0.1929, allocations: 0.5129 MB / 1.053 GB, free: 2.738 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1944, allocations: 1.149 MB / 1.054 GB, free: 1.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1944, allocations: 3.984 kB / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.1949, allocations: 179.8 kB / 1.055 GB, free: 1.375 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1949, allocations: 7.984 kB / 1.055 GB, free: 1.367 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.1949, allocations: 19.98 kB / 1.055 GB, free: 1.348 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.195, allocations: 7.938 kB / 1.055 GB, free: 1.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.195, allocations: 0 / 1.055 GB, free: 1.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.1958, allocations: 0.765 MB / 1.055 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.196, allocations: 167.2 kB / 1.056 GB, free: 404 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.1961, allocations: 15.94 kB / 1.056 GB, free: 388 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.1964, allocations: 35.97 kB / 1.056 GB, free: 352 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.1965, allocations: 44.56 kB / 1.056 GB, free: 304 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.1965, allocations: 19.98 kB / 1.056 GB, free: 284 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.3652/0.5617, allocations: 382.3 kB / 1.056 GB, free: 69.26 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5617, allocations: 1 kB / 1.056 GB, free: 69.26 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000782/0.5625, allocations: 341.1 kB / 1.056 GB, free: 69.26 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0001824/0.5627, allocations: 126.8 kB / 1.056 GB, free: 69.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.5632, allocations: 396.2 kB / 1.057 GB, free: 69.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5632, allocations: 0 / 1.057 GB, free: 69.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.5635, allocations: 222.6 kB / 1.057 GB, free: 69.15 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.5647, allocations: 0.5345 MB / 1.058 GB, free: 69.13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.567, allocations: 1.866 MB / 1.059 GB, free: 68.41 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.5671, allocations: 232.4 kB / 1.06 GB, free: 68.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005316/0.5676, allocations: 158.4 kB / 1.06 GB, free: 68.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/0.5683, allocations: 448.2 kB / 1.06 GB, free: 68.26 MB / 1.01 GB Notification: Performance of SimCode: time 8.72e-07/0.5683, allocations: 1 kB / 1.06 GB, free: 68.26 MB / 1.01 GB Notification: Performance of Templates: time 0.02138/0.5897, allocations: 20.96 MB / 1.081 GB, free: 66.29 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.961594644002616]