Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.001498/0.001498, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001924/0.001924, allocations: 161 kB / 24.16 MB, free: 336 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 1.05/1.05, allocations: 177.1 MB / 204.6 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.95/1.95, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.095e-05, allocations: 6.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1524/0.1524, allocations: 151.1 MB / 0.9076 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008186/0.1606, allocations: 3.82 MB / 0.9113 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.1625, allocations: 51.62 kB / 0.9114 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1637, allocations: 317.8 kB / 0.9117 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.167, allocations: 1.372 MB / 0.913 GB, free: 9.582 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1682, allocations: 0.5691 MB / 0.9136 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003783/0.172, allocations: 3.3 MB / 0.9168 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1737, allocations: 0.8881 MB / 0.9177 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.1766, allocations: 1.695 MB / 0.9193 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.1779, allocations: 0.966 MB / 0.9203 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1781, allocations: 128 kB / 0.9204 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1789, allocations: 379.2 kB / 0.9208 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.1793, allocations: 0.561 MB / 0.9213 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.1799, allocations: 0.5419 MB / 0.9218 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1815, allocations: 1.293 MB / 0.9231 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1815, allocations: 0 / 0.9231 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1815, allocations: 0 / 0.9231 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.1815, allocations: 0 / 0.9231 GB, free: 15.26 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002268/0.1838, allocations: 1.55 MB / 0.9246 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1838, allocations: 8.031 kB / 0.9246 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.185, allocations: 423.9 kB / 0.925 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.1859, allocations: 0.62 MB / 0.9256 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.1859, allocations: 82 kB / 0.9257 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1861, allocations: 108 kB / 0.9258 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.1869, allocations: 0.8329 MB / 0.9266 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1869, allocations: 0 / 0.9266 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.187, allocations: 43.92 kB / 0.9267 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.187, allocations: 70.06 kB / 0.9267 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.1875, allocations: 338.8 kB / 0.9271 GB, free: 11.04 MB / 0.8855 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.003017/0.1905, allocations: 2.141 MB / 0.9291 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.1911, allocations: 403.2 kB / 0.9295 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1913, allocations: 193.7 kB / 0.9297 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.1914, allocations: 20.64 kB / 0.9297 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.1918, allocations: 457.9 kB / 0.9302 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.667e-06/0.1918, allocations: 0 / 0.9302 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.0007421/0.1925, allocations: 429.8 kB / 0.9306 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1925, allocations: 60.06 kB / 0.9306 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1929, allocations: 447.1 kB / 0.9311 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.1929, allocations: 41.7 kB / 0.9311 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1931, allocations: 409.8 kB / 0.9315 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1933, allocations: 277.5 kB / 0.9318 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.1934, allocations: 122.6 kB / 0.9319 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1936, allocations: 382.6 kB / 0.9322 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1937, allocations: 88.8 kB / 0.9323 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1939, allocations: 196.8 kB / 0.9325 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.1942, allocations: 356.7 kB / 0.9328 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1942, allocations: 4 kB / 0.9329 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004485/0.1947, allocations: 392.1 kB / 0.9332 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1947, allocations: 8 kB / 0.9332 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1947, allocations: 0 / 0.9332 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1947, allocations: 8 kB / 0.9332 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.1952, allocations: 167.7 kB / 0.9334 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1952, allocations: 15.92 kB / 0.9334 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.1955, allocations: 51.58 kB / 0.9335 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.1955, allocations: 20 kB / 0.9335 GB, free: 4.199 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0002113/0.1957, allocations: 160.5 kB / 0.9336 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.1958, allocations: 75.92 kB / 0.9337 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1959, allocations: 103.2 kB / 0.9338 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1959, allocations: 8 kB / 0.9338 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1959, allocations: 0 / 0.9338 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004026/0.1963, allocations: 0.5815 MB / 0.9344 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1975, allocations: 1.007 MB / 0.9354 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1976, allocations: 7.984 kB / 0.9354 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.1981, allocations: 223.2 kB / 0.9356 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1981, allocations: 4 kB / 0.9356 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.1982, allocations: 16 kB / 0.9356 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1982, allocations: 0 / 0.9356 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1982, allocations: 4 kB / 0.9356 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.1988, allocations: 0.6041 MB / 0.9362 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.199, allocations: 127.2 kB / 0.9363 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.199, allocations: 23.98 kB / 0.9363 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1993, allocations: 17.88 kB / 0.9364 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1994, allocations: 44.56 kB / 0.9364 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.1994, allocations: 15.98 kB / 0.9364 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001551/0.1995, allocations: 200.4 kB / 0.9366 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1995, allocations: 0 / 0.9366 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006457/0.2002, allocations: 371.2 kB / 0.937 GB, free: 492 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0001985/0.2004, allocations: 116.3 kB / 0.9371 GB, free: 364 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.2008, allocations: 328.2 kB / 0.9374 GB, free: 32 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.2008, allocations: 8 kB / 0.9374 GB, free: 24 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.201, allocations: 189.8 kB / 0.9376 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.2023, allocations: 0.5753 MB / 0.9381 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.2046, allocations: 1.663 MB / 0.9398 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.2048, allocations: 245.4 kB / 0.94 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005715/0.2053, allocations: 146.8 kB / 0.9401 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/0.2061, allocations: 375.1 kB / 0.9405 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of SimCode: time 1.894e-06/0.2061, allocations: 0 / 0.9405 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of Templates: time 0.02486/0.231, allocations: 19.46 MB / 0.9595 GB, free: 9.797 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.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.788841801229864]