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.001371/0.001371, allocations: 80.75 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.0009931/0.0009931, allocations: 181 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.9187/0.9187, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.328/2.328, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] 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.303e-06/1.303e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.788e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1324/0.1324, allocations: 150.8 MB / 0.9858 GB, free: 6.812 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.1379, allocations: 4.426 MB / 0.9902 GB, free: 2.379 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.1384, allocations: 47.62 kB / 0.9902 GB, free: 2.332 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005804/0.139, allocations: 301.8 kB / 0.9905 GB, free: 2.035 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.1408, allocations: 1.441 MB / 0.9919 GB, free: 0.5859 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.1418, allocations: 0.7366 MB / 0.9926 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.1439, allocations: 2.964 MB / 0.9955 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.1451, allocations: 0.7979 MB / 0.9963 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.1468, allocations: 1.558 MB / 0.9978 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.1476, allocations: 0.8413 MB / 0.9986 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1477, allocations: 112 kB / 0.9988 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005506/0.1482, allocations: 466.9 kB / 0.9992 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.1485, allocations: 498.5 kB / 0.9997 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.1489, allocations: 491 kB / 1 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.1498, allocations: 1.23 MB / 1.001 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1498, allocations: 0 / 1.001 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1498, allocations: 4 kB / 1.001 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.1498, allocations: 0 / 1.001 GB, free: 6.918 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.001454/0.1513, allocations: 1.39 MB / 1.003 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1513, allocations: 8.031 kB / 1.003 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.153, allocations: 0.5931 MB / 1.003 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.1537, allocations: 0.6246 MB / 1.004 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.1537, allocations: 65.98 kB / 1.004 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.1538, allocations: 91.95 kB / 1.004 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.1546, allocations: 0.9097 MB / 1.005 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1547, allocations: 11.98 kB / 1.005 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.1547, allocations: 36 kB / 1.005 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.1547, allocations: 41.92 kB / 1.005 GB, free: 3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.1552, allocations: 309.7 kB / 1.005 GB, free: 2.699 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.002244/0.1574, allocations: 2.303 MB / 1.008 GB, free: 336 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.1579, allocations: 395.2 kB / 1.008 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.1582, allocations: 231.2 kB / 1.008 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1582, allocations: 20.59 kB / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1582, allocations: 39.22 kB / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=70): time 1.733e-06/0.1582, allocations: 0 / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70): time 0.000632/0.1589, allocations: 441.8 kB / 1.009 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1589, allocations: 64.06 kB / 1.009 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1592, allocations: 0.5389 MB / 1.009 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.1593, allocations: 37.7 kB / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1594, allocations: 374.4 kB / 1.01 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1596, allocations: 265.6 kB / 1.01 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1597, allocations: 134.6 kB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1598, allocations: 394.5 kB / 1.01 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1599, allocations: 96.78 kB / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1601, allocations: 254.7 kB / 1.011 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.1607, allocations: 414.6 kB / 1.011 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1607, allocations: 4 kB / 1.011 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004889/0.1612, allocations: 439.6 kB / 1.012 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1612, allocations: 8 kB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1612, allocations: 4 kB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1613, allocations: 8.562 kB / 1.012 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.1617, allocations: 195.7 kB / 1.012 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1618, allocations: 8 kB / 1.012 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.1621, allocations: 75.53 kB / 1.012 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1622, allocations: 27.94 kB / 1.012 GB, free: 11.74 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.0001581/0.1623, allocations: 152.4 kB / 1.012 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.1624, allocations: 83.91 kB / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1625, allocations: 103.7 kB / 1.012 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1625, allocations: 8 kB / 1.012 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1625, allocations: 0 / 1.012 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003584/0.1629, allocations: 437.2 kB / 1.013 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.1639, allocations: 0.9059 MB / 1.013 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1639, allocations: 7.922 kB / 1.013 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.1645, allocations: 230.5 kB / 1.014 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1645, allocations: 4 kB / 1.014 GB, free: 9.738 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1645, allocations: 15.94 kB / 1.014 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1645, allocations: 4 kB / 1.014 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1645, allocations: 0 / 1.014 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.1652, allocations: 0.6105 MB / 1.014 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.1654, allocations: 127.2 kB / 1.014 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.1654, allocations: 15.94 kB / 1.014 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.1658, allocations: 39.92 kB / 1.015 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.1658, allocations: 48.5 kB / 1.015 GB, free: 8.859 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.1659, allocations: 19.98 kB / 1.015 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001738/0.1661, allocations: 252.6 kB / 1.015 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1661, allocations: 4 kB / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004377/0.1665, allocations: 339.5 kB / 1.015 GB, free: 8.258 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.0001337/0.1666, allocations: 107.2 kB / 1.015 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.1671, allocations: 356.7 kB / 1.016 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.1671, allocations: 11.98 kB / 1.016 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1673, allocations: 193.8 kB / 1.016 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.1684, allocations: 0.5432 MB / 1.016 GB, free: 7.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1706, allocations: 1.72 MB / 1.018 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.1708, allocations: 233.5 kB / 1.018 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004358/0.1712, allocations: 163.3 kB / 1.018 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.1719, allocations: 379 kB / 1.019 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/0.1719, allocations: 0 / 1.019 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of Templates: time 0.02085/0.1928, allocations: 20.74 MB / 1.039 GB, free: 264 kB / 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 -s gbode -gbm=radauIIA3 -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.522396923974156]