Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001634/0.001634, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001324/0.001324, allocations: 169 kB / 24.28 MB, free: 280 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.9456/0.9456, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.732/1.732, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.844e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1615/0.1615, allocations: 201.8 MB / 0.9842 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.17, allocations: 6.499 MB / 0.9905 GB, free: 11.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1714, allocations: 51.62 kB / 0.9906 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.1729, allocations: 0.6951 MB / 0.9912 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.1785, allocations: 2.888 MB / 0.994 GB, free: 8.199 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.001555/0.18, allocations: 0.7235 MB / 0.9948 GB, free: 7.477 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.1837, allocations: 3.4 MB / 0.9981 GB, free: 4.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1848, allocations: 0.8406 MB / 0.9989 GB, free: 3.207 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.1873, allocations: 1.706 MB / 1.001 GB, free: 1.496 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.1891, allocations: 1.084 MB / 1.002 GB, free: 440 kB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.1892, allocations: 128 kB / 1.002 GB, free: 312 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.1925, allocations: 1.955 MB / 1.004 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.193, allocations: 0.5727 MB / 1.004 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.1937, allocations: 0.538 MB / 1.005 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.1976, allocations: 2.181 MB / 1.007 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1976, allocations: 0 / 1.007 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1976, allocations: 0 / 1.007 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.1976, allocations: 0 / 1.007 GB, free: 11.04 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002706/0.2004, allocations: 1.838 MB / 1.009 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2004, allocations: 12.03 kB / 1.009 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.2019, allocations: 466.5 kB / 1.009 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2029, allocations: 0.8169 MB / 1.01 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.203, allocations: 74.02 kB / 1.01 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2031, allocations: 108 kB / 1.01 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2041, allocations: 0.8653 MB / 1.011 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2041, allocations: 0 / 1.011 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.2042, allocations: 40 kB / 1.011 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.2043, allocations: 58.08 kB / 1.011 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.205, allocations: 0.4923 MB / 1.012 GB, free: 6.113 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.003348/0.2084, allocations: 2.597 MB / 1.014 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.2091, allocations: 0.4948 MB / 1.015 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.2094, allocations: 252.5 kB / 1.015 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.2095, allocations: 16.64 kB / 1.015 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/0.2099, allocations: 495.6 kB / 1.015 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 2.756e-06/0.2099, allocations: 0 / 1.015 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.00104/0.2109, allocations: 0.638 MB / 1.016 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.211, allocations: 68 kB / 1.016 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.2114, allocations: 0.5143 MB / 1.016 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.2114, allocations: 37.7 kB / 1.016 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2117, allocations: 0.5227 MB / 1.017 GB, free: 328 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.2118, allocations: 281.7 kB / 1.017 GB, free: 44 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.212, allocations: 144.4 kB / 1.017 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2121, allocations: 0.5625 MB / 1.018 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2123, allocations: 121.9 kB / 1.018 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.2126, allocations: 282.7 kB / 1.018 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.2131, allocations: 461.1 kB / 1.019 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2131, allocations: 0 / 1.019 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006921/0.2138, allocations: 0.567 MB / 1.019 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2138, allocations: 4 kB / 1.019 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2138, allocations: 4 kB / 1.019 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.2138, allocations: 4 kB / 1.019 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.2142, allocations: 159.8 kB / 1.019 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2142, allocations: 19.91 kB / 1.02 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.2146, allocations: 55.97 kB / 1.02 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.2146, allocations: 28 kB / 1.02 GB, free: 13.53 MB / 0.9792 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.0002394/0.2149, allocations: 200.3 kB / 1.02 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.215, allocations: 103.5 kB / 1.02 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2151, allocations: 99.23 kB / 1.02 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2151, allocations: 8 kB / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2151, allocations: 0 / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006108/0.2157, allocations: 0.7338 MB / 1.021 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2175, allocations: 1.502 MB / 1.022 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2175, allocations: 8.031 kB / 1.022 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.2179, allocations: 175.7 kB / 1.022 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2179, allocations: 0 / 1.022 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.218, allocations: 20 kB / 1.022 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.218, allocations: 7.984 kB / 1.022 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.218, allocations: 0 / 1.022 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.2189, allocations: 0.8279 MB / 1.023 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.2191, allocations: 171.3 kB / 1.023 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.2192, allocations: 12 kB / 1.023 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.2194, allocations: 25.67 kB / 1.023 GB, free: 9.473 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.2195, allocations: 40.58 kB / 1.023 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.2195, allocations: 31.98 kB / 1.023 GB, free: 9.402 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002404/0.2198, allocations: 338.8 kB / 1.024 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2198, allocations: 4 kB / 1.024 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006881/0.2205, allocations: 379.2 kB / 1.024 GB, free: 8.699 MB / 0.9792 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.0002328/0.2207, allocations: 175 kB / 1.024 GB, free: 8.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.2213, allocations: 439.6 kB / 1.025 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2213, allocations: 4.125 kB / 1.025 GB, free: 8.086 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.2216, allocations: 248.6 kB / 1.025 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.2228, allocations: 0.5355 MB / 1.025 GB, free: 7.305 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2252, allocations: 1.774 MB / 1.027 GB, free: 5.488 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.2253, allocations: 253.4 kB / 1.027 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005841/0.2259, allocations: 226.6 kB / 1.028 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2261, allocations: 76.48 kB / 1.028 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of SimCode: time 3.126e-06/0.2261, allocations: 0 / 1.028 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of Templates: time 0.0208/0.2469, allocations: 18.41 MB / 1.046 GB, free: 2.941 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.852495694067329]