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.001478/0.001478, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001412/0.001412, allocations: 169 kB / 24.28 MB, free: 276 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.883/0.883, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.735/1.735, allocations: 377.8 MB / 0.6239 GB, free: 8.52 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.262e-06/1.262e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.166e-05, allocations: 7.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.196/0.196, allocations: 201.8 MB / 1.009 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.2035, allocations: 6.512 MB / 1.015 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2047, allocations: 47.62 kB / 1.015 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2063, allocations: 0.7029 MB / 1.016 GB, free: 292 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.2111, allocations: 2.88 MB / 1.019 GB, free: 13.39 MB / 0.9792 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.001378/0.2125, allocations: 0.7387 MB / 1.019 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.003309/0.2158, allocations: 3.386 MB / 1.023 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.2168, allocations: 0.8406 MB / 1.023 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.2191, allocations: 1.839 MB / 1.025 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2207, allocations: 1.053 MB / 1.026 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.2208, allocations: 128 kB / 1.026 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.2237, allocations: 1.951 MB / 1.028 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.2242, allocations: 0.5727 MB / 1.029 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.2248, allocations: 0.5341 MB / 1.029 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.2284, allocations: 2.177 MB / 1.031 GB, free: 144 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2284, allocations: 4 kB / 1.031 GB, free: 140 kB / 0.9792 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2284, allocations: 0 / 1.031 GB, free: 140 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.2285, allocations: 0 / 1.031 GB, free: 140 kB / 0.9792 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.002703/0.2312, allocations: 1.849 MB / 1.033 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2312, allocations: 8.031 kB / 1.033 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.2326, allocations: 470.5 kB / 1.034 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.2336, allocations: 0.813 MB / 1.034 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.2337, allocations: 78.02 kB / 1.035 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2338, allocations: 104 kB / 1.035 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.2348, allocations: 0.8614 MB / 1.036 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2348, allocations: 0 / 1.036 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.2348, allocations: 47.98 kB / 1.036 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.2349, allocations: 66.02 kB / 1.036 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.2357, allocations: 0.4923 MB / 1.036 GB, free: 11.18 MB / 0.9948 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.003254/0.2389, allocations: 2.589 MB / 1.039 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.2396, allocations: 0.5001 MB / 1.039 GB, free: 8.035 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.24, allocations: 256.3 kB / 1.039 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.24, allocations: 24.62 kB / 1.039 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005674/0.2406, allocations: 495.6 kB / 1.04 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.2406, allocations: 0 / 1.04 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.001024/0.2416, allocations: 0.6341 MB / 1.04 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2416, allocations: 60.06 kB / 1.041 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.242, allocations: 0.522 MB / 1.041 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.2421, allocations: 37.7 kB / 1.041 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.2423, allocations: 0.5188 MB / 1.042 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2425, allocations: 285.8 kB / 1.042 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.2426, allocations: 140.3 kB / 1.042 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2428, allocations: 0.5625 MB / 1.043 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.243, allocations: 121.9 kB / 1.043 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.2433, allocations: 290.7 kB / 1.043 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.244, allocations: 449.2 kB / 1.043 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.244, allocations: 0 / 1.043 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006904/0.2447, allocations: 0.5673 MB / 1.044 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2447, allocations: 8 kB / 1.044 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2447, allocations: 4 kB / 1.044 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2447, allocations: 8 kB / 1.044 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.2451, allocations: 155.8 kB / 1.044 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2451, allocations: 11.94 kB / 1.044 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2455, allocations: 55.56 kB / 1.044 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.2455, allocations: 24 kB / 1.044 GB, free: 2.621 MB / 0.9948 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.000201/0.2457, allocations: 200.4 kB / 1.044 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2458, allocations: 103.5 kB / 1.044 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2459, allocations: 107.2 kB / 1.045 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2459, allocations: 4 kB / 1.045 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2459, allocations: 4 kB / 1.045 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005983/0.2465, allocations: 0.7337 MB / 1.045 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3114/0.558, allocations: 1.488 MB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.558, allocations: 2.969 kB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.5585, allocations: 177.2 kB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.5585, allocations: 5.812 kB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.5585, allocations: 20.72 kB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.5585, allocations: 5.375 kB / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5585, allocations: 0 / 1.047 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.5595, allocations: 0.8361 MB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.5598, allocations: 164.9 kB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.5599, allocations: 16.56 kB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.5602, allocations: 23.02 kB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.5602, allocations: 43.23 kB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5603, allocations: 25.83 kB / 1.048 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002317/0.5605, allocations: 344.2 kB / 1.048 GB, free: 278.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5605, allocations: 3.844 kB / 1.048 GB, free: 278.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006228/0.5611, allocations: 377.4 kB / 1.049 GB, free: 278.2 MB / 0.9948 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.0002361/0.5613, allocations: 181.5 kB / 1.049 GB, free: 278.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005511/0.5619, allocations: 433.1 kB / 1.049 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5619, allocations: 3.375 kB / 1.049 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.5621, allocations: 247.4 kB / 1.05 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5634, allocations: 0.5361 MB / 1.05 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.5655, allocations: 1.782 MB / 1.052 GB, free: 277.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.5656, allocations: 259.8 kB / 1.052 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005156/0.5661, allocations: 218.7 kB / 1.052 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.5663, allocations: 72.55 kB / 1.052 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.5663, allocations: 0 / 1.052 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.01857/0.5849, allocations: 18.44 MB / 1.07 GB, free: 275.2 MB / 0.9948 GB " [Timeout remaining time 299] 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.631867991993204]