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.001288/0.001288, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001453/0.001453, allocations: 173 kB / 23.36 MB, free: 1.133 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.8944/0.8944, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.27/2.27, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.232e-06/1.232e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.418e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1289/0.1289, allocations: 150.7 MB / 0.9857 GB, free: 6.953 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1349, allocations: 4.43 MB / 0.9901 GB, free: 2.512 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.1355, allocations: 47.62 kB / 0.9901 GB, free: 2.465 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.1362, allocations: 297.9 kB / 0.9904 GB, free: 2.172 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1383, allocations: 1.445 MB / 0.9918 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1397, allocations: 0.7443 MB / 0.9925 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1418, allocations: 2.968 MB / 0.9954 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.1425, allocations: 0.7525 MB / 0.9962 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.1441, allocations: 1.58 MB / 0.9977 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.1449, allocations: 0.8491 MB / 0.9985 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.145, allocations: 108 kB / 0.9986 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.1455, allocations: 447 kB / 0.9991 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.1461, allocations: 0.4908 MB / 0.9996 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.1464, allocations: 483 kB / 1 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1474, allocations: 1.23 MB / 1.001 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1474, allocations: 4 kB / 1.001 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1474, allocations: 0 / 1.001 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.1474, allocations: 0 / 1.001 GB, free: 7.07 MB / 0.9636 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.00151/0.149, allocations: 1.401 MB / 1.003 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.149, allocations: 8.031 kB / 1.003 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.1505, allocations: 0.5931 MB / 1.003 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.1513, allocations: 0.6286 MB / 1.004 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.1513, allocations: 62 kB / 1.004 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.1514, allocations: 91.94 kB / 1.004 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.1522, allocations: 0.9098 MB / 1.005 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1522, allocations: 7.938 kB / 1.005 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.1522, allocations: 32 kB / 1.005 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.1523, allocations: 45.98 kB / 1.005 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.1527, allocations: 309.7 kB / 1.005 GB, free: 2.844 MB / 0.9636 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.002209/0.1549, allocations: 2.307 MB / 1.007 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.1554, allocations: 380.4 kB / 1.008 GB, free: 92 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.1558, allocations: 239.2 kB / 1.008 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.1558, allocations: 16.64 kB / 1.008 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1558, allocations: 39.22 kB / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=70): time 1.973e-06/0.1558, allocations: 0 / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70): time 0.0006519/0.1565, allocations: 445.8 kB / 1.009 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1565, allocations: 56.06 kB / 1.009 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.1568, allocations: 0.5428 MB / 1.009 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1569, allocations: 41.7 kB / 1.009 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.157, allocations: 374.4 kB / 1.01 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.1573, allocations: 261.7 kB / 1.01 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1574, allocations: 130.5 kB / 1.01 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1576, allocations: 398.5 kB / 1.01 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1577, allocations: 104.7 kB / 1.01 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1579, allocations: 246.8 kB / 1.011 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1583, allocations: 410.6 kB / 1.011 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1583, allocations: 4 kB / 1.011 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000494/0.1588, allocations: 443.6 kB / 1.011 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1588, allocations: 10.03 kB / 1.011 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1588, allocations: 4.562 kB / 1.011 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1588, allocations: 8 kB / 1.011 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.1592, allocations: 187.7 kB / 1.012 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1592, allocations: 8 kB / 1.012 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.1596, allocations: 79.48 kB / 1.012 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1596, allocations: 23.94 kB / 1.012 GB, free: 11.9 MB / 0.9792 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.0001666/0.1598, allocations: 156.4 kB / 1.012 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1599, allocations: 79.91 kB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.16, allocations: 107.7 kB / 1.012 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.16, allocations: 8 kB / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.16, allocations: 0 / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003571/0.1604, allocations: 441.2 kB / 1.012 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1616, allocations: 0.8982 MB / 1.013 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1616, allocations: 4 kB / 1.013 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.1621, allocations: 179.8 kB / 1.014 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1621, allocations: 4 kB / 1.014 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1621, allocations: 19.98 kB / 1.014 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1621, allocations: 7.875 kB / 1.014 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1622, allocations: 4 kB / 1.014 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.1628, allocations: 0.5998 MB / 1.014 GB, free: 9.301 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.163, allocations: 123.2 kB / 1.014 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.1631, allocations: 23.94 kB / 1.014 GB, free: 9.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1634, allocations: 31.97 kB / 1.014 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.1634, allocations: 40.56 kB / 1.014 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.1635, allocations: 23.98 kB / 1.014 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001724/0.1636, allocations: 252.6 kB / 1.015 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 1.015 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004539/0.1641, allocations: 339.5 kB / 1.015 GB, free: 8.484 MB / 0.9792 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.0001445/0.1642, allocations: 112.3 kB / 1.015 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.1647, allocations: 349.2 kB / 1.015 GB, free: 8.027 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.1647, allocations: 8 kB / 1.015 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1649, allocations: 201.9 kB / 1.016 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.166, allocations: 0.5466 MB / 1.016 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.168, allocations: 1.728 MB / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.1682, allocations: 225.5 kB / 1.018 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.1686, allocations: 163.3 kB / 1.018 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.1693, allocations: 375.1 kB / 1.019 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of SimCode: time 7.32e-07/0.1693, allocations: 0 / 1.019 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of Templates: time 0.02133/0.1906, allocations: 20.64 MB / 1.039 GB, free: 0.582 MB / 0.9948 GB " [Timeout remaining time 300] 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.492073636036366]