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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|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=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.5 MB / 0.7104 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 15.98 kB / 0.8708 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.726, allocations: 153.7 MB / 1.021 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1951/0.9212, allocations: 168.8 MB / 1.186 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.9312, allocations: 6.537 MB / 1.192 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.9329, allocations: 27.81 kB / 1.192 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.9354, allocations: 0.6689 MB / 1.193 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007481/0.9429, allocations: 2.068 MB / 1.195 GB, free: 14.68 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.002867/0.9457, allocations: 0.7983 MB / 1.195 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003719/0.9495, allocations: 1.851 MB / 1.197 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.9512, allocations: 0.8213 MB / 1.198 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.954, allocations: 1.141 MB / 1.199 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.9555, allocations: 0.6577 MB / 1.2 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.9558, allocations: 56 kB / 1.2 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.9586, allocations: 0.8581 MB / 1.201 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000734/0.9594, allocations: 398.9 kB / 1.201 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.9601, allocations: 293.1 kB / 1.201 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.9629, allocations: 1.637 MB / 1.203 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.9629, allocations: 0 / 1.203 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.657e-06/0.9629, allocations: 4 kB / 1.203 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.38e-05/0.963, allocations: 3.938 kB / 1.203 GB, free: 6.156 MB / 0.9512 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.004253/0.9672, allocations: 1.484 MB / 1.204 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.9673, allocations: 8.031 kB / 1.204 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.9698, allocations: 350.1 kB / 1.205 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.9715, allocations: 0.8199 MB / 1.206 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.9715, allocations: 70.02 kB / 1.206 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.9717, allocations: 108 kB / 1.206 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.9737, allocations: 1.175 MB / 1.207 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.9737, allocations: 0 / 1.207 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9738, allocations: 47.98 kB / 1.207 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.9739, allocations: 54.08 kB / 1.207 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.9758, allocations: 1.246 MB / 1.208 GB, free: 0.6641 MB / 0.9512 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.006898/0.9827, allocations: 5.073 MB / 1.213 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.9842, allocations: 1.15 MB / 1.214 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.9843, allocations: 16.75 kB / 1.214 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.985, allocations: 488.2 kB / 1.215 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.915e-06/0.985, allocations: 0 / 1.215 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.001983/0.987, allocations: 1.153 MB / 1.216 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.987, allocations: 60.06 kB / 1.216 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.9877, allocations: 0.5783 MB / 1.217 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.9878, allocations: 37.7 kB / 1.217 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.9881, allocations: 459.6 kB / 1.217 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.9884, allocations: 268.1 kB / 1.217 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.9884, allocations: 16 kB / 1.217 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9886, allocations: 390.8 kB / 1.218 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.9891, allocations: 329.8 kB / 1.218 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.9897, allocations: 448.6 kB / 1.218 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.9902, allocations: 399.1 kB / 1.219 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9902, allocations: 0 / 1.219 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001364/0.9916, allocations: 0.9296 MB / 1.22 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.9916, allocations: 11.94 kB / 1.22 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.9917, allocations: 4 kB / 1.22 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.9917, allocations: 7.984 kB / 1.22 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.9924, allocations: 163.7 kB / 1.22 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.9924, allocations: 4 kB / 1.22 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.9935, allocations: 159.6 kB / 1.22 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.9935, allocations: 27.98 kB / 1.22 GB, free: 3.914 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005074/0.994, allocations: 333.5 kB / 1.22 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.9942, allocations: 83.02 kB / 1.22 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.9944, allocations: 115.7 kB / 1.221 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9944, allocations: 8 kB / 1.221 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9944, allocations: 0 / 1.221 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.9957, allocations: 1.093 MB / 1.222 GB, free: 2.188 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.003445/0.9991, allocations: 2.269 MB / 1.224 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.9991, allocations: 4 kB / 1.224 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/1, allocations: 175.8 kB / 1.224 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1, allocations: 0 / 1.224 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/1, allocations: 20 kB / 1.224 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1, allocations: 4 kB / 1.224 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1, allocations: 0 / 1.224 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.002, allocations: 1.371 MB / 1.225 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/1.002, allocations: 252 kB / 1.226 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.003, allocations: 19.94 kB / 1.226 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/1.003, allocations: 99.84 kB / 1.226 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/1.004, allocations: 40.59 kB / 1.226 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.004, allocations: 23.98 kB / 1.226 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004895/1.004, allocations: 411.1 kB / 1.226 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 0 / 1.226 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009068/1.005, allocations: 374.9 kB / 1.227 GB, free: 13.02 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/1.005, allocations: 180.9 kB / 1.227 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.006, allocations: 0.7903 MB / 1.227 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.006, allocations: 11.88 kB / 1.227 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/1.007, allocations: 419.6 kB / 1.228 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.009, allocations: 0.5434 MB / 1.228 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/1.013, allocations: 2.7 MB / 1.231 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/1.014, allocations: 1.163 MB / 1.232 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001086/1.015, allocations: 267.2 kB / 1.232 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.015, allocations: 75.42 kB / 1.233 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/1.015, allocations: 0 / 1.233 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.02788/1.043, allocations: 17.54 MB / 1.25 GB, free: 5.504 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches