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.0009486/0.0009486, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009469/0.0009469, allocations: 165 kB / 23.02 MB, free: 1.543 MB / 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.9147/0.9147, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 1.98/1.98, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 178] 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.283e-06/1.283e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.574e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1236/0.1236, allocations: 151.4 MB / 1.026 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006158/0.1298, allocations: 4.348 MB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007792/0.1306, allocations: 47.62 kB / 1.03 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.1315, allocations: 297.9 kB / 1.031 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1339, allocations: 1.441 MB / 1.032 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1351, allocations: 0.7365 MB / 1.033 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1373, allocations: 2.968 MB / 1.036 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006677/0.1379, allocations: 0.7408 MB / 1.036 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1392, allocations: 1.333 MB / 1.038 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1403, allocations: 0.9358 MB / 1.039 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1404, allocations: 116 kB / 1.039 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000675/0.141, allocations: 0.5533 MB / 1.039 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.1413, allocations: 0.4908 MB / 1.04 GB, free: 332 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1417, allocations: 498.9 kB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1428, allocations: 1.273 MB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1428, allocations: 8 kB / 1.041 GB, free: 14.55 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1428, allocations: 0 / 1.041 GB, free: 14.55 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1428, allocations: 0 / 1.041 GB, free: 14.55 MB / 1.01 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.001752/0.1446, allocations: 1.585 MB / 1.043 GB, free: 12.92 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1446, allocations: 8.031 kB / 1.043 GB, free: 12.91 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.1464, allocations: 0.6354 MB / 1.044 GB, free: 12.28 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.1472, allocations: 0.7943 MB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.1473, allocations: 69.98 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1474, allocations: 84 kB / 1.045 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1485, allocations: 0.979 MB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1485, allocations: 4 kB / 1.046 GB, free: 10.22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.1485, allocations: 36 kB / 1.046 GB, free: 10.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.1486, allocations: 41.98 kB / 1.046 GB, free: 10.15 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.1494, allocations: 443.5 kB / 1.046 GB, free: 9.711 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.002688/0.152, allocations: 3.091 MB / 1.049 GB, free: 6.539 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.1527, allocations: 482.1 kB / 1.049 GB, free: 6.059 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1531, allocations: 294 kB / 1.05 GB, free: 5.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.1532, allocations: 16.64 kB / 1.05 GB, free: 5.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1532, allocations: 49.98 kB / 1.05 GB, free: 5.691 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 1.773e-06/0.1532, allocations: 4 kB / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.001021/0.1542, allocations: 0.6419 MB / 1.05 GB, free: 5.043 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1543, allocations: 60.06 kB / 1.051 GB, free: 4.969 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1547, allocations: 0.5933 MB / 1.051 GB, free: 4.363 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.1548, allocations: 37.7 kB / 1.051 GB, free: 4.32 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.1552, allocations: 495.5 kB / 1.052 GB, free: 3.828 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1554, allocations: 257.7 kB / 1.052 GB, free: 3.574 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1555, allocations: 135.9 kB / 1.052 GB, free: 3.434 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1557, allocations: 0.5703 MB / 1.053 GB, free: 2.852 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.1559, allocations: 125.2 kB / 1.053 GB, free: 2.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1562, allocations: 240.8 kB / 1.053 GB, free: 2.465 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.1567, allocations: 394.8 kB / 1.053 GB, free: 2.051 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1567, allocations: 4 kB / 1.053 GB, free: 2.047 MB / 1.01 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006976/0.1574, allocations: 0.5436 MB / 1.054 GB, free: 1.496 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1574, allocations: 4 kB / 1.054 GB, free: 1.492 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1574, allocations: 0 / 1.054 GB, free: 1.492 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1574, allocations: 8 kB / 1.054 GB, free: 1.484 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.1578, allocations: 160 kB / 1.054 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1578, allocations: 4 kB / 1.054 GB, free: 1.324 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.1582, allocations: 67.58 kB / 1.054 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1582, allocations: 20 kB / 1.054 GB, free: 1.238 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0001682/0.1584, allocations: 192.4 kB / 1.054 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1585, allocations: 111.5 kB / 1.054 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1586, allocations: 95.28 kB / 1.054 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1586, allocations: 12 kB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1586, allocations: 0 / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005913/0.1592, allocations: 0.5792 MB / 1.055 GB, free: 192 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4118/0.571, allocations: 1.329 MB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.571, allocations: 0 / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.5715, allocations: 183.3 kB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5716, allocations: 2.656 kB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.5716, allocations: 21.09 kB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5716, allocations: 1.312 kB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5716, allocations: 2.688 kB / 1.056 GB, free: 77.94 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.5725, allocations: 0.8511 MB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.5728, allocations: 175.4 kB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.5728, allocations: 14.31 kB / 1.058 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.5732, allocations: 40.64 kB / 1.058 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.5733, allocations: 45.56 kB / 1.058 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.5733, allocations: 27.97 kB / 1.058 GB, free: 77.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002442/0.5735, allocations: 395.7 kB / 1.058 GB, free: 77.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5735, allocations: 0 / 1.058 GB, free: 77.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005466/0.5741, allocations: 340.6 kB / 1.058 GB, free: 77.6 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.000153/0.5742, allocations: 125.4 kB / 1.058 GB, free: 77.51 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.5748, allocations: 425.4 kB / 1.059 GB, free: 77.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5748, allocations: 3.094 kB / 1.059 GB, free: 77.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.5751, allocations: 251.7 kB / 1.059 GB, free: 77.47 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5762, allocations: 0.528 MB / 1.06 GB, free: 77.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.5785, allocations: 1.873 MB / 1.061 GB, free: 76.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.5786, allocations: 230.8 kB / 1.062 GB, free: 76.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000461/0.5791, allocations: 202.6 kB / 1.062 GB, free: 76.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.5793, allocations: 73.5 kB / 1.062 GB, free: 76.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.854e-06/0.5793, allocations: 0.6562 kB / 1.062 GB, free: 76.61 MB / 1.01 GB Notification: Performance of Templates: time 0.01924/0.5985, allocations: 18.92 MB / 1.08 GB, free: 74.83 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.969974766951054]