Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009291/0.0009291, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0008984/0.0008984, allocations: 177 kB / 23.03 MB, free: 1.539 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.8495/0.8495, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.884/1.884, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.758e-05, allocations: 6.406 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1291/0.1291, allocations: 151.8 MB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004281/0.1334, allocations: 3.742 MB / 1.03 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.1338, allocations: 47.62 kB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1344, allocations: 305.9 kB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.136, allocations: 1.387 MB / 1.032 GB, free: 8.543 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.0006482/0.1367, allocations: 0.5629 MB / 1.032 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.1389, allocations: 3.319 MB / 1.036 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.1397, allocations: 0.8444 MB / 1.036 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1416, allocations: 1.735 MB / 1.038 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.1425, allocations: 1.025 MB / 1.039 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.1426, allocations: 132 kB / 1.039 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1431, allocations: 375.2 kB / 1.04 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.1435, allocations: 0.5649 MB / 1.04 GB, free: 15.99 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.1439, allocations: 0.538 MB / 1.041 GB, free: 15.45 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1449, allocations: 1.301 MB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1449, allocations: 0 / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1449, allocations: 0 / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1449, allocations: 0 / 1.042 GB, free: 14.15 MB / 1.01 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.002018/0.1469, allocations: 1.707 MB / 1.044 GB, free: 12.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1469, allocations: 8.031 kB / 1.044 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.148, allocations: 443.2 kB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.1487, allocations: 0.7761 MB / 1.045 GB, free: 11.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.1488, allocations: 78 kB / 1.045 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1489, allocations: 100 kB / 1.045 GB, free: 10.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.1498, allocations: 0.8613 MB / 1.046 GB, free: 10.03 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1498, allocations: 4 kB / 1.046 GB, free: 10.03 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.1499, allocations: 43.98 kB / 1.046 GB, free: 9.984 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.1499, allocations: 62.06 kB / 1.046 GB, free: 9.922 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.1507, allocations: 0.4923 MB / 1.046 GB, free: 9.418 MB / 1.01 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.002818/0.1535, allocations: 2.605 MB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.1541, allocations: 498.8 kB / 1.049 GB, free: 6.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.1544, allocations: 244.5 kB / 1.05 GB, free: 6.027 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.1545, allocations: 16.66 kB / 1.05 GB, free: 6.012 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.1549, allocations: 0.4917 MB / 1.05 GB, free: 5.453 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.254e-06/0.1549, allocations: 0 / 1.05 GB, free: 5.453 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.0008759/0.1557, allocations: 0.6419 MB / 1.051 GB, free: 4.805 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.1558, allocations: 64 kB / 1.051 GB, free: 4.73 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1561, allocations: 0.5104 MB / 1.051 GB, free: 4.203 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.1562, allocations: 41.7 kB / 1.051 GB, free: 4.156 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1564, allocations: 0.5149 MB / 1.052 GB, free: 3.633 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1565, allocations: 285.7 kB / 1.052 GB, free: 3.352 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1567, allocations: 140.3 kB / 1.052 GB, free: 3.203 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1568, allocations: 0.5586 MB / 1.053 GB, free: 2.633 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.157, allocations: 129.9 kB / 1.053 GB, free: 2.508 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1573, allocations: 286.7 kB / 1.053 GB, free: 2.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.1577, allocations: 449.2 kB / 1.054 GB, free: 1.688 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1577, allocations: 0 / 1.054 GB, free: 1.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006501/0.1584, allocations: 0.5708 MB / 1.054 GB, free: 1.109 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1584, allocations: 4 kB / 1.054 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1584, allocations: 4 kB / 1.054 GB, free: 1.102 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1584, allocations: 12.34 kB / 1.054 GB, free: 1.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.1588, allocations: 159.8 kB / 1.054 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1588, allocations: 15.88 kB / 1.054 GB, free: 0.918 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.1591, allocations: 59.56 kB / 1.054 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.1591, allocations: 24 kB / 1.054 GB, free: 0.8359 MB / 1.01 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.0001624/0.1593, allocations: 196.4 kB / 1.055 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.1594, allocations: 103.5 kB / 1.055 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.1595, allocations: 99.23 kB / 1.055 GB, free: 440 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1595, allocations: 8 kB / 1.055 GB, free: 432 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1595, allocations: 3.938 kB / 1.055 GB, free: 428 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3518/0.5113, allocations: 0.7296 MB / 1.055 GB, free: 78.72 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.513, allocations: 1.494 MB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.513, allocations: 2.062 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.5134, allocations: 172.7 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5134, allocations: 5.031 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.5135, allocations: 16.84 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5135, allocations: 2.656 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5135, allocations: 1.125 kB / 1.057 GB, free: 78.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.5142, allocations: 0.8337 MB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.5144, allocations: 171.2 kB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.5145, allocations: 14.53 kB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.5147, allocations: 22.2 kB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.5148, allocations: 51.69 kB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.5148, allocations: 24.66 kB / 1.058 GB, free: 78.17 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001817/0.515, allocations: 338.4 kB / 1.059 GB, free: 78.04 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.515, allocations: 1.156 kB / 1.059 GB, free: 78.04 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005393/0.5156, allocations: 375.6 kB / 1.059 GB, free: 78.04 MB / 1.01 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.0001633/0.5157, allocations: 136 kB / 1.059 GB, free: 77.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.5162, allocations: 439.7 kB / 1.059 GB, free: 77.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5162, allocations: 2.969 kB / 1.059 GB, free: 77.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.5164, allocations: 243.4 kB / 1.06 GB, free: 77.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5176, allocations: 0.5245 MB / 1.06 GB, free: 77.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.5195, allocations: 1.784 MB / 1.062 GB, free: 77.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5196, allocations: 260.5 kB / 1.062 GB, free: 77.06 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004459/0.5201, allocations: 221.9 kB / 1.062 GB, free: 77.05 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.5202, allocations: 79.33 kB / 1.062 GB, free: 77.04 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/0.5202, allocations: 0 / 1.062 GB, free: 77.04 MB / 1.01 GB Notification: Performance of Templates: time 0.01797/0.5382, allocations: 18.81 MB / 1.081 GB, free: 75.25 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.661341951228678]