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.001269/0.001269, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001416/0.001416, allocations: 161 kB / 24.16 MB, free: 332 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.9515/0.9515, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.784/1.784, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.363e-06/1.363e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.205e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1514/0.1514, allocations: 151.1 MB / 0.9075 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008364/0.1598, allocations: 3.82 MB / 0.9112 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.161, allocations: 51.62 kB / 0.9113 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.1617, allocations: 305.9 kB / 0.9116 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1642, allocations: 1.383 MB / 0.9129 GB, free: 9.664 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.0009967/0.1652, allocations: 0.5643 MB / 0.9135 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003199/0.1684, allocations: 3.308 MB / 0.9167 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009496/0.1693, allocations: 0.8484 MB / 0.9175 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.1718, allocations: 1.701 MB / 0.9192 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1729, allocations: 0.9738 MB / 0.9202 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1731, allocations: 128 kB / 0.9203 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.1738, allocations: 375.2 kB / 0.9206 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.1743, allocations: 0.561 MB / 0.9212 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.1748, allocations: 0.5341 MB / 0.9217 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1762, allocations: 1.301 MB / 0.923 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1762, allocations: 3.938 kB / 0.923 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1762, allocations: 0 / 0.923 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.1762, allocations: 0 / 0.923 GB, free: 15.36 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.002093/0.1783, allocations: 1.546 MB / 0.9245 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1783, allocations: 12.03 kB / 0.9245 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.1793, allocations: 427.8 kB / 0.9249 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.1801, allocations: 0.6122 MB / 0.9255 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1802, allocations: 78 kB / 0.9256 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1803, allocations: 107.9 kB / 0.9257 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.1811, allocations: 0.8368 MB / 0.9265 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1811, allocations: 0 / 0.9265 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.1811, allocations: 48 kB / 0.9265 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.1812, allocations: 58.06 kB / 0.9266 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.1816, allocations: 342.8 kB / 0.9269 GB, free: 11.14 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.002667/0.1843, allocations: 2.149 MB / 0.929 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.1848, allocations: 401.8 kB / 0.9294 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1852, allocations: 185.7 kB / 0.9296 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.1852, allocations: 20.64 kB / 0.9296 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.1855, allocations: 457.8 kB / 0.93 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.587e-06/0.1855, allocations: 0 / 0.93 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.0006255/0.1862, allocations: 425.9 kB / 0.9304 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1862, allocations: 60.06 kB / 0.9305 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1865, allocations: 455 kB / 0.9309 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.1865, allocations: 37.7 kB / 0.931 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1867, allocations: 417.8 kB / 0.9314 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1868, allocations: 277.5 kB / 0.9316 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.187, allocations: 122.6 kB / 0.9318 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1871, allocations: 386.5 kB / 0.9321 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1872, allocations: 88.8 kB / 0.9322 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1873, allocations: 196.8 kB / 0.9324 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.1876, allocations: 356.7 kB / 0.9327 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1876, allocations: 0 / 0.9327 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004156/0.1881, allocations: 400.1 kB / 0.9331 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1881, allocations: 4 kB / 0.9331 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1881, allocations: 4 kB / 0.9331 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1881, allocations: 8 kB / 0.9331 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.1884, allocations: 147.8 kB / 0.9333 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1885, allocations: 11.94 kB / 0.9333 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.1888, allocations: 59.56 kB / 0.9333 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.1888, allocations: 20 kB / 0.9334 GB, free: 4.301 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.0001743/0.189, allocations: 152.6 kB / 0.9335 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.1891, allocations: 83.92 kB / 0.9336 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.1891, allocations: 99.23 kB / 0.9337 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1892, allocations: 8 kB / 0.9337 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1892, allocations: 3.938 kB / 0.9337 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000371/0.1895, allocations: 0.5815 MB / 0.9343 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1906, allocations: 1.003 MB / 0.9352 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1906, allocations: 0 / 0.9352 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.1911, allocations: 175.8 kB / 0.9354 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1911, allocations: 11.94 kB / 0.9354 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.1911, allocations: 15.98 kB / 0.9354 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1911, allocations: 4 kB / 0.9354 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1911, allocations: 0 / 0.9354 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.1917, allocations: 0.5897 MB / 0.936 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.1919, allocations: 127.3 kB / 0.9361 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.1919, allocations: 19.94 kB / 0.9362 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1922, allocations: 12 kB / 0.9362 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1922, allocations: 56.5 kB / 0.9362 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.1922, allocations: 19.98 kB / 0.9362 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002899/0.1925, allocations: 200.4 kB / 0.9364 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1925, allocations: 3.938 kB / 0.9364 GB, free: 1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005613/0.1931, allocations: 371.2 kB / 0.9368 GB, free: 0.6367 MB / 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.0001674/0.1933, allocations: 112.3 kB / 0.9369 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1936, allocations: 332.3 kB / 0.9372 GB, free: 192 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.1936, allocations: 7.938 kB / 0.9372 GB, free: 184 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1938, allocations: 181.8 kB / 0.9374 GB, free: 0 / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1949, allocations: 0.5653 MB / 0.9379 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.197, allocations: 1.678 MB / 0.9396 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.1971, allocations: 245.4 kB / 0.9398 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.1976, allocations: 142.7 kB / 0.94 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.1982, allocations: 371.1 kB / 0.9403 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of SimCode: time 1.312e-06/0.1982, allocations: 0 / 0.9403 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of Templates: time 0.02361/0.2219, allocations: 19.36 MB / 0.9592 GB, free: 10.07 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 -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.3549183192662895]