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.0009914/0.0009914, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001688/0.001688, allocations: 165 kB / 23.82 MB, free: 0.75 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.8777/0.8777, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.333e-06/1.333e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.406e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1258/0.1259, allocations: 151.8 MB / 0.9597 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005664/0.1315, allocations: 3.722 MB / 0.9634 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.1325, allocations: 47.62 kB / 0.9634 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.1331, allocations: 313.9 kB / 0.9637 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.1352, allocations: 1.379 MB / 0.9651 GB, free: 4.012 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.0008035/0.136, allocations: 0.5613 MB / 0.9656 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.1385, allocations: 3.302 MB / 0.9688 GB, free: 140 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.1398, allocations: 0.8482 MB / 0.9697 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.1422, allocations: 1.734 MB / 0.9714 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1434, allocations: 1.024 MB / 0.9724 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1436, allocations: 124 kB / 0.9725 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.1443, allocations: 387.2 kB / 0.9728 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.1446, allocations: 0.561 MB / 0.9734 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.1451, allocations: 0.5341 MB / 0.9739 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.1464, allocations: 1.293 MB / 0.9752 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1464, allocations: 4 kB / 0.9752 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1464, allocations: 4 kB / 0.9752 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.1464, allocations: 0 / 0.9752 GB, free: 9.637 MB / 0.9323 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.002243/0.1487, allocations: 1.695 MB / 0.9768 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1487, allocations: 12.03 kB / 0.9769 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1498, allocations: 435.3 kB / 0.9773 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.1507, allocations: 0.7799 MB / 0.978 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.1507, allocations: 78 kB / 0.9781 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1508, allocations: 104 kB / 0.9782 GB, free: 6.473 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.1518, allocations: 0.8691 MB / 0.9791 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1518, allocations: 3.953 kB / 0.9791 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.1519, allocations: 40 kB / 0.9791 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.1519, allocations: 58.08 kB / 0.9791 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.1528, allocations: 0.5002 MB / 0.9796 GB, free: 4.906 MB / 0.9323 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.00352/0.1563, allocations: 2.589 MB / 0.9822 GB, free: 2.27 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.1571, allocations: 497 kB / 0.9826 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006906/0.1577, allocations: 248.4 kB / 0.9829 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.1578, allocations: 24.64 kB / 0.9829 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.1583, allocations: 0.4956 MB / 0.9834 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 4.298e-06/0.1583, allocations: 0 / 0.9834 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.001107/0.1594, allocations: 0.6302 MB / 0.984 GB, free: 316 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1595, allocations: 64 kB / 0.9841 GB, free: 240 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.1599, allocations: 0.5182 MB / 0.9846 GB, free: 15.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.16, allocations: 41.7 kB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.1602, allocations: 0.5188 MB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.1604, allocations: 285.6 kB / 0.9854 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1606, allocations: 136.3 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1608, allocations: 0.5625 MB / 0.9861 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.161, allocations: 125.9 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.1613, allocations: 286.7 kB / 0.9865 GB, free: 13.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.1617, allocations: 449.2 kB / 0.9869 GB, free: 13.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1618, allocations: 4 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006748/0.1624, allocations: 0.5633 MB / 0.9874 GB, free: 12.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1624, allocations: 13.78 kB / 0.9875 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1625, allocations: 4 kB / 0.9875 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1625, allocations: 4 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.1628, allocations: 159.8 kB / 0.9876 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1629, allocations: 11.88 kB / 0.9876 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1632, allocations: 51.62 kB / 0.9877 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1632, allocations: 24 kB / 0.9877 GB, free: 12.35 MB / 0.948 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.0001942/0.1634, allocations: 196.5 kB / 0.9879 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1635, allocations: 103.5 kB / 0.988 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.1636, allocations: 103.2 kB / 0.9881 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1636, allocations: 15.98 kB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1636, allocations: 3.938 kB / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005921/0.1642, allocations: 0.7298 MB / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.166, allocations: 1.498 MB / 0.9903 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1661, allocations: 3.938 kB / 0.9903 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.1665, allocations: 171.8 kB / 0.9904 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1665, allocations: 8 kB / 0.9905 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.1665, allocations: 19.98 kB / 0.9905 GB, free: 9.355 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1665, allocations: 4 kB / 0.9905 GB, free: 9.352 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1665, allocations: 0 / 0.9905 GB, free: 9.352 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.1674, allocations: 0.8318 MB / 0.9913 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.1676, allocations: 171.3 kB / 0.9914 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.1677, allocations: 12 kB / 0.9915 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1679, allocations: 25.67 kB / 0.9915 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.168, allocations: 40.58 kB / 0.9915 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.168, allocations: 31.98 kB / 0.9916 GB, free: 8.223 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002356/0.1683, allocations: 342.8 kB / 0.9919 GB, free: 7.891 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1683, allocations: 0 / 0.9919 GB, free: 7.891 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005692/0.1688, allocations: 371.2 kB / 0.9922 GB, free: 7.527 MB / 0.948 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.0001635/0.169, allocations: 131.1 kB / 0.9924 GB, free: 7.391 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005518/0.1695, allocations: 443.3 kB / 0.9928 GB, free: 6.953 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1696, allocations: 0 / 0.9928 GB, free: 6.953 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.1698, allocations: 248.6 kB / 0.993 GB, free: 6.707 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.171, allocations: 0.5363 MB / 0.9935 GB, free: 6.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.1732, allocations: 1.789 MB / 0.9953 GB, free: 4.344 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.1734, allocations: 257.3 kB / 0.9955 GB, free: 4.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005502/0.174, allocations: 222.6 kB / 0.9957 GB, free: 3.848 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1741, allocations: 76.48 kB / 0.9958 GB, free: 3.773 MB / 0.948 GB Notification: Performance of SimCode: time 1.253e-06/0.1741, allocations: 0 / 0.9958 GB, free: 3.773 MB / 0.948 GB Notification: Performance of Templates: time 0.02045/0.1946, allocations: 18.75 MB / 1.014 GB, free: 1.449 MB / 0.9636 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.110313041135669]