Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 175.3 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 98.56 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004023, allocations: 10.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3887, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.075/5.464, allocations: 1.922 GB / 3.145 GB, free: 65.53 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/5.465, allocations: 93.02 kB / 3.145 GB, free: 65.48 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.732/8.197, allocations: 0.6161 GB / 3.761 GB, free: 292.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/8.197, allocations: 3.5 kB / 3.761 GB, free: 292.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000168/8.197, allocations: 26.12 kB / 3.761 GB, free: 292.5 MB / 1.167 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.008614/8.206, allocations: 1.68 MB / 3.763 GB, free: 291.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/8.206, allocations: 9.781 kB / 3.763 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/8.209, allocations: 339.1 kB / 3.763 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/8.213, allocations: 0.8623 MB / 3.764 GB, free: 291.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/8.213, allocations: 72.73 kB / 3.764 GB, free: 291.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/8.214, allocations: 100.4 kB / 3.764 GB, free: 291.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/8.218, allocations: 1.119 MB / 3.765 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/8.218, allocations: 0 / 3.765 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/8.218, allocations: 41.22 kB / 3.765 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/8.218, allocations: 68.12 kB / 3.765 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/8.222, allocations: 1.167 MB / 3.767 GB, free: 291.4 MB / 1.167 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.01022/8.232, allocations: 5.061 MB / 3.772 GB, free: 288.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/8.234, allocations: 0.9723 MB / 3.772 GB, free: 288.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/8.234, allocations: 15.55 kB / 3.772 GB, free: 288.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/8.235, allocations: 494.6 kB / 3.773 GB, free: 288.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.899e-06/8.235, allocations: 0 / 3.773 GB, free: 288.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002557/8.238, allocations: 1.184 MB / 3.774 GB, free: 288.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/8.238, allocations: 59.44 kB / 3.774 GB, free: 288.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/8.238, allocations: 0.5029 MB / 3.775 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/8.239, allocations: 40.58 kB / 3.775 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/8.239, allocations: 462.4 kB / 3.775 GB, free: 288.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/8.239, allocations: 274.1 kB / 3.775 GB, free: 288 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/8.239, allocations: 17.59 kB / 3.775 GB, free: 288 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001266/8.239, allocations: 383.6 kB / 3.776 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/8.24, allocations: 339.9 kB / 3.776 GB, free: 287.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/8.24, allocations: 448.7 kB / 3.777 GB, free: 287.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/8.241, allocations: 406.7 kB / 3.777 GB, free: 287.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/8.241, allocations: 3.281 kB / 3.777 GB, free: 287.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001379/8.242, allocations: 0.9417 MB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/8.242, allocations: 8.938 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/8.242, allocations: 3.625 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/8.242, allocations: 10.86 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/8.243, allocations: 150.3 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/8.243, allocations: 11.05 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/8.244, allocations: 159.8 kB / 3.778 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/8.244, allocations: 26.06 kB / 3.778 GB, free: 287.5 MB / 1.167 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.0006863/8.245, allocations: 342.4 kB / 3.779 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/8.245, allocations: 88.39 kB / 3.779 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/8.246, allocations: 109.9 kB / 3.779 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/8.246, allocations: 7.562 kB / 3.779 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/8.246, allocations: 3.516 kB / 3.779 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/8.247, allocations: 1.101 MB / 3.78 GB, free: 286.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/8.251, allocations: 2.163 MB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/8.251, allocations: 2.594 kB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/8.252, allocations: 172 kB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/8.252, allocations: 3.094 kB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/8.252, allocations: 27.78 kB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-06/8.252, allocations: 3.969 kB / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/8.252, allocations: 0 / 3.782 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/8.253, allocations: 1.379 MB / 3.783 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/8.254, allocations: 257.6 kB / 3.784 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/8.254, allocations: 18.67 kB / 3.784 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/8.255, allocations: 96.36 kB / 3.784 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/8.256, allocations: 40.5 kB / 3.784 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/8.256, allocations: 28.83 kB / 3.784 GB, free: 286.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005936/8.256, allocations: 419.6 kB / 3.784 GB, free: 286.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3e-07/8.256, allocations: 0 / 3.784 GB, free: 286.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002094/8.258, allocations: 0.5087 MB / 3.785 GB, free: 286.1 MB / 1.167 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.002791/8.261, allocations: 1.605 MB / 3.786 GB, free: 285.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001363/8.263, allocations: 0.8111 MB / 3.787 GB, free: 285.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/8.263, allocations: 10.31 kB / 3.787 GB, free: 285.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/8.263, allocations: 432 kB / 3.788 GB, free: 285.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/8.266, allocations: 0.5473 MB / 3.788 GB, free: 285.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/8.27, allocations: 2.703 MB / 3.791 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/8.271, allocations: 1.16 MB / 3.792 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001343/8.273, allocations: 279.1 kB / 3.792 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/8.273, allocations: 71.34 kB / 3.792 GB, free: 283.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.163e-06/8.273, allocations: 0 / 3.792 GB, free: 283.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05442/8.327, allocations: 37.07 MB / 3.828 GB, free: 280.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches