Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 184.2 kB / 326.5 MB, free: 2.258 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.601/1.601, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0009145/0.0009144, allocations: 95.14 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 9.094 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.687/0.8481, allocations: 402.6 MB / 1.293 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.8484, allocations: 97.25 kB / 1.293 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.51/10.36, allocations: 2.667 GB / 3.96 GB, free: 57.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.824e-06/10.36, allocations: 0 / 3.96 GB, free: 57.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001098/10.36, allocations: 168.2 kB / 3.961 GB, free: 57.12 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.025/10.38, allocations: 7.139 MB / 3.968 GB, free: 53.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/10.38, allocations: 10.41 kB / 3.968 GB, free: 53.85 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/10.39, allocations: 0.7772 MB / 3.968 GB, free: 53.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1232/10.51, allocations: 58.1 MB / 4.025 GB, free: 50.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004584/10.51, allocations: 319.3 kB / 4.025 GB, free: 50.38 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/10.51, allocations: 426.2 kB / 4.026 GB, free: 50.38 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00953/10.52, allocations: 4.238 MB / 4.03 GB, free: 49.59 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.745e-05/10.52, allocations: 13.88 kB / 4.03 GB, free: 49.59 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/10.52, allocations: 174.8 kB / 4.03 GB, free: 49.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/10.52, allocations: 120.4 kB / 4.03 GB, free: 49.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/10.53, allocations: 2.902 MB / 4.033 GB, free: 49.56 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.02326/10.55, allocations: 24.01 MB / 4.057 GB, free: 35.33 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/10.56, allocations: 2.953 MB / 4.059 GB, free: 34.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/10.56, allocations: 3.931 MB / 4.063 GB, free: 29.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/10.56, allocations: 62.69 kB / 4.063 GB, free: 29.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 5.1e-06/10.56, allocations: 0 / 4.063 GB, free: 29.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.008182/10.57, allocations: 4.105 MB / 4.067 GB, free: 28.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/10.57, allocations: 76.09 kB / 4.067 GB, free: 28.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005333/10.57, allocations: 3.664 MB / 4.071 GB, free: 28.53 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/10.57, allocations: 80.58 kB / 4.071 GB, free: 28.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/10.57, allocations: 2.775 MB / 4.074 GB, free: 27.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006596/10.57, allocations: 0.7828 MB / 4.075 GB, free: 27.12 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/10.57, allocations: 53.5 kB / 4.075 GB, free: 27.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001365/10.57, allocations: 413.1 kB / 4.075 GB, free: 26.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/10.58, allocations: 0.8 MB / 4.076 GB, free: 26.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/10.58, allocations: 1.814 MB / 4.078 GB, free: 25.65 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/10.58, allocations: 1.092 MB / 4.079 GB, free: 25.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/10.58, allocations: 10.91 kB / 4.079 GB, free: 25.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006701/10.59, allocations: 3.365 MB / 4.082 GB, free: 25.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002127/10.59, allocations: 10.34 MB / 4.092 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/10.59, allocations: 20.47 kB / 4.092 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/10.59, allocations: 404.5 kB / 4.092 GB, free: 14.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/10.59, allocations: 0.5208 MB / 4.093 GB, free: 14.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/10.59, allocations: 2.699 MB / 4.096 GB, free: 28.28 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/10.6, allocations: 0.5641 MB / 4.096 GB, free: 28.14 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/10.6, allocations: 134.5 kB / 4.096 GB, free: 28.14 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/10.6, allocations: 8.719 kB / 4.096 GB, free: 28.14 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004589/10.6, allocations: 2.809 MB / 4.099 GB, free: 27.88 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/10.6, allocations: 24.17 kB / 4.099 GB, free: 27.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008746/10.6, allocations: 375.7 kB / 4.099 GB, free: 27.84 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/10.61, allocations: 0.5255 MB / 4.1 GB, free: 27.81 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008233/10.61, allocations: 7.809 MB / 4.107 GB, free: 22.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/10.62, allocations: 0.5234 MB / 4.108 GB, free: 21.99 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/10.62, allocations: 127 kB / 4.108 GB, free: 21.99 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002852/10.62, allocations: 0.9921 MB / 4.109 GB, free: 21.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/10.62, allocations: 0.5052 MB / 4.11 GB, free: 21.48 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006026/10.63, allocations: 3.79 MB / 4.113 GB, free: 21.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/10.63, allocations: 37.36 kB / 4.113 GB, free: 21.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/10.63, allocations: 0 / 4.113 GB, free: 21.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003428/10.63, allocations: 2.609 MB / 4.116 GB, free: 20.83 MB / 1.026 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.01453/10.65, allocations: 8.54 MB / 4.124 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/10.65, allocations: 0 / 4.124 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/10.65, allocations: 390.6 kB / 4.125 GB, free: 19.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/10.65, allocations: 308.5 kB / 4.125 GB, free: 19.12 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/10.65, allocations: 63.55 kB / 4.125 GB, free: 19.12 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/10.65, allocations: 2.502 MB / 4.127 GB, free: 17.01 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/10.65, allocations: 0 / 4.127 GB, free: 17.01 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/10.66, allocations: 4.758 MB / 4.132 GB, free: 16.15 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003238/10.66, allocations: 0.9767 MB / 4.133 GB, free: 15.75 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000627/10.66, allocations: 49.33 kB / 4.133 GB, free: 15.74 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/10.67, allocations: 440.6 kB / 4.133 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/10.67, allocations: 155 kB / 4.134 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/10.67, allocations: 103.6 kB / 4.134 GB, free: 15.67 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.004012/10.67, allocations: 2.8 MB / 4.136 GB, free: 15.49 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.8e-07/10.67, allocations: 0 / 4.136 GB, free: 15.49 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01187/10.68, allocations: 3.593 MB / 4.14 GB, free: 14.95 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005357/10.69, allocations: 3.419 MB / 4.143 GB, free: 13.23 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006373/10.7, allocations: 4.433 MB / 4.148 GB, free: 12.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/10.7, allocations: 7.781 kB / 4.148 GB, free: 12.48 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/10.7, allocations: 1.325 MB / 4.149 GB, free: 12.42 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/10.71, allocations: 2.732 MB / 4.152 GB, free: 12.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/10.73, allocations: 11.15 MB / 4.162 GB, free: 6.633 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/10.73, allocations: 2.988 MB / 4.165 GB, free: 5.762 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.006079/10.74, allocations: 1.193 MB / 4.167 GB, free: 5.492 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/10.74, allocations: 420 kB / 4.167 GB, free: 5.48 MB / 1.026 GB Notification: Performance of SimCode: time 1.824e-06/10.74, allocations: 3.25 kB / 4.167 GB, free: 5.48 MB / 1.026 GB Notification: Performance of Templates: time 0.927/11.67, allocations: 119.3 MB / 4.283 GB, free: 100.5 MB / 1.057 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches