Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.8 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001387/0.001388, allocations: 102.5 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.035e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2521, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/6.361, allocations: 2.194 GB / 3.08 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/6.361, allocations: 84.64 kB / 3.08 GB, free: 213.5 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.583/8.945, allocations: 0.5834 GB / 3.663 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.274e-06/8.945, allocations: 0 / 3.663 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.747e-05/8.945, allocations: 27.06 kB / 3.663 GB, free: 169.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004357/8.949, allocations: 1.556 MB / 3.665 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/8.949, allocations: 11.5 kB / 3.665 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/8.951, allocations: 335 kB / 3.665 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/8.953, allocations: 0.856 MB / 3.666 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/8.953, allocations: 35.19 kB / 3.666 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/8.953, allocations: 62.25 kB / 3.666 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/8.955, allocations: 1.002 MB / 3.667 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/8.956, allocations: 0.9574 MB / 3.668 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/8.956, allocations: 3.281 kB / 3.668 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/8.956, allocations: 3.875 kB / 3.668 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/8.956, allocations: 61.98 kB / 3.668 GB, free: 168.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005527/8.962, allocations: 4.855 MB / 3.673 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/8.964, allocations: 3.377 MB / 3.676 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/8.965, allocations: 451.8 kB / 3.676 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/8.965, allocations: 18.62 kB / 3.676 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/8.965, allocations: 407 kB / 3.677 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/8.965, allocations: 0 / 3.677 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001207/8.966, allocations: 0.6872 MB / 3.677 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/8.966, allocations: 59.28 kB / 3.677 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/8.967, allocations: 419.2 kB / 3.678 GB, free: 163 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/8.967, allocations: 26.7 kB / 3.678 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/8.967, allocations: 464.4 kB / 3.678 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/8.967, allocations: 259.7 kB / 3.679 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/8.967, allocations: 0 / 3.679 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/8.968, allocations: 380 kB / 3.679 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/8.968, allocations: 259.2 kB / 3.679 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/8.968, allocations: 382.7 kB / 3.68 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/8.969, allocations: 326.9 kB / 3.68 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/8.969, allocations: 3 kB / 3.68 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001059/8.97, allocations: 0.7583 MB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/8.97, allocations: 8.672 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/8.97, allocations: 3.969 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/8.97, allocations: 7.781 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/8.97, allocations: 160.8 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/8.971, allocations: 7.562 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/8.972, allocations: 116.9 kB / 3.681 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/8.972, allocations: 23.34 kB / 3.681 GB, free: 162.1 MB / 0.8698 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 () * 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.0001433/8.972, allocations: 120.8 kB / 3.681 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/8.972, allocations: 76.53 kB / 3.681 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/8.972, allocations: 89.34 kB / 3.681 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/8.972, allocations: 7.594 kB / 3.681 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/8.972, allocations: 0 / 3.681 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/8.973, allocations: 0.9353 MB / 3.682 GB, free: 161.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.003297/8.977, allocations: 2.497 MB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/8.977, allocations: 3.797 kB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/8.977, allocations: 185.2 kB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/8.977, allocations: 3.844 kB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/8.977, allocations: 7.344 kB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/8.977, allocations: 7.25 kB / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/8.977, allocations: 0 / 3.685 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/8.979, allocations: 1.236 MB / 3.686 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/8.979, allocations: 240.1 kB / 3.686 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/8.979, allocations: 6.188 kB / 3.686 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/8.98, allocations: 102.1 kB / 3.686 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/8.98, allocations: 46.47 kB / 3.686 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/8.98, allocations: 26.5 kB / 3.686 GB, free: 160 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004223/8.981, allocations: 332.5 kB / 3.687 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/8.981, allocations: 0 / 3.687 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001408/8.982, allocations: 448.5 kB / 3.687 GB, free: 159.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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.002183/8.984, allocations: 1.807 MB / 3.689 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000937/8.985, allocations: 0.6406 MB / 3.689 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/8.985, allocations: 3.938 kB / 3.689 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/8.986, allocations: 350.2 kB / 3.69 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/8.988, allocations: 0.4904 MB / 3.69 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/8.991, allocations: 1.694 MB / 3.692 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/8.991, allocations: 1.168 MB / 3.693 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008568/8.992, allocations: 251.6 kB / 3.693 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/8.992, allocations: 72.38 kB / 3.693 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/8.992, allocations: 3.75 kB / 3.693 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04055/9.033, allocations: 25.03 MB / 3.718 GB, free: 157.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches