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.001219/0.001219, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001071/0.001071, allocations: 161 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.9359/0.9359, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.843/1.843, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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 4.368e-06/4.368e-06, allocations: 4 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/3.126e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1326/0.1326, allocations: 151.8 MB / 0.9597 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.1378, allocations: 3.738 MB / 0.9634 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.1386, allocations: 47.62 kB / 0.9634 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.1393, allocations: 301.9 kB / 0.9637 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.1415, allocations: 1.387 MB / 0.9651 GB, free: 4.016 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.0007849/0.1422, allocations: 0.5654 MB / 0.9656 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.1447, allocations: 3.306 MB / 0.9688 GB, free: 140 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.1456, allocations: 0.8406 MB / 0.9697 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1471, allocations: 1.504 MB / 0.9711 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.1486, allocations: 1.058 MB / 0.9722 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.1488, allocations: 128 kB / 0.9723 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.1495, allocations: 466.9 kB / 0.9727 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.1498, allocations: 0.5649 MB / 0.9733 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1503, allocations: 0.5458 MB / 0.9738 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1515, allocations: 1.324 MB / 0.9751 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1515, allocations: 4 kB / 0.9751 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1515, allocations: 0 / 0.9751 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.1515, allocations: 4 kB / 0.9751 GB, free: 9.695 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.002216/0.1537, allocations: 1.718 MB / 0.9768 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1538, allocations: 12.03 kB / 0.9768 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.1551, allocations: 467.2 kB / 0.9772 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.156, allocations: 0.8092 MB / 0.978 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.156, allocations: 74.02 kB / 0.9781 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1562, allocations: 119.9 kB / 0.9782 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.1572, allocations: 0.8653 MB / 0.9791 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1572, allocations: 0 / 0.9791 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.1573, allocations: 36 kB / 0.9791 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.1573, allocations: 58.08 kB / 0.9792 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.1582, allocations: 0.4962 MB / 0.9796 GB, free: 4.883 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.00307/0.1612, allocations: 2.601 MB / 0.9822 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.162, allocations: 497.6 kB / 0.9827 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.1623, allocations: 248.4 kB / 0.9829 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.1624, allocations: 24.64 kB / 0.9829 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.1628, allocations: 499.5 kB / 0.9834 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/0.1628, allocations: 4 kB / 0.9834 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.0009272/0.1637, allocations: 0.6302 MB / 0.984 GB, free: 284 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1637, allocations: 68 kB / 0.9841 GB, free: 204 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.1641, allocations: 0.5143 MB / 0.9846 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.1642, allocations: 41.7 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.1644, allocations: 0.5188 MB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.1645, allocations: 285.7 kB / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1647, allocations: 136.3 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002932/0.165, allocations: 0.5664 MB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1652, allocations: 125.9 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1654, allocations: 282.8 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.1659, allocations: 457.1 kB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1659, allocations: 4 kB / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006629/0.1666, allocations: 0.5631 MB / 0.9875 GB, free: 12.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1666, allocations: 8 kB / 0.9875 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1666, allocations: 352 / 0.9875 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1666, allocations: 12 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.167, allocations: 155.8 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.167, allocations: 15.86 kB / 0.9876 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1673, allocations: 55.56 kB / 0.9877 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.1673, allocations: 28 kB / 0.9877 GB, free: 12.3 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.0001653/0.1675, allocations: 192.5 kB / 0.9879 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.1676, allocations: 103.5 kB / 0.988 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.1677, allocations: 99.23 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1677, allocations: 8 kB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1677, allocations: 7.938 kB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005887/0.1683, allocations: 0.7299 MB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1698, allocations: 1.498 MB / 0.9903 GB, free: 9.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1698, allocations: 3.938 kB / 0.9903 GB, free: 9.516 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.1703, allocations: 171.8 kB / 0.9905 GB, free: 9.348 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1703, allocations: 7.938 kB / 0.9905 GB, free: 9.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.1703, allocations: 15.98 kB / 0.9905 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1703, allocations: 8.031 kB / 0.9905 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1703, allocations: 0 / 0.9905 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.1712, allocations: 0.828 MB / 0.9913 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1715, allocations: 179.2 kB / 0.9915 GB, free: 8.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.1715, allocations: 12 kB / 0.9915 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1718, allocations: 29.98 kB / 0.9915 GB, free: 8.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.1719, allocations: 48.5 kB / 0.9916 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1719, allocations: 24 kB / 0.9916 GB, free: 8.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000258/0.1722, allocations: 338.8 kB / 0.9919 GB, free: 7.852 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1722, allocations: 0 / 0.9919 GB, free: 7.852 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005555/0.1727, allocations: 383.2 kB / 0.9923 GB, free: 7.477 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.0002004/0.1729, allocations: 119.2 kB / 0.9924 GB, free: 7.352 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007392/0.1737, allocations: 435.1 kB / 0.9928 GB, free: 6.922 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1737, allocations: 0.6875 kB / 0.9928 GB, free: 6.922 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.1739, allocations: 252.6 kB / 0.993 GB, free: 6.672 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.1752, allocations: 0.5398 MB / 0.9936 GB, free: 6.141 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1772, allocations: 1.793 MB / 0.9953 GB, free: 4.301 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.1774, allocations: 257.4 kB / 0.9956 GB, free: 4.027 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004224/0.1778, allocations: 218.6 kB / 0.9958 GB, free: 3.809 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.178, allocations: 76.48 kB / 0.9958 GB, free: 3.734 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.178, allocations: 0 / 0.9958 GB, free: 3.734 MB / 0.948 GB Notification: Performance of Templates: time 0.01853/0.1965, allocations: 17.72 MB / 1.013 GB, free: 2.445 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.546921737026423]