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.773/1.773, allocations: 249.5 MB / 257 MB, free: 6.914 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.001165/0.001165, allocations: 175.1 kB / 316.3 MB, free: 3.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.698/1.698, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.000899/0.0008987, allocations: 92.56 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.896e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2307, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.656/1.887, allocations: 402.8 MB / 1.279 GB, free: 327.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.887, allocations: 92.02 kB / 1.279 GB, free: 327.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.93/12.82, allocations: 2.647 GB / 3.925 GB, free: 52.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.994e-06/12.82, allocations: 0 / 3.925 GB, free: 52.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001152/12.82, allocations: 165.8 kB / 3.926 GB, free: 52.45 MB / 0.9948 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.02128/12.84, allocations: 5.906 MB / 3.931 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/12.84, allocations: 9.531 kB / 3.931 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005641/12.85, allocations: 0.7807 MB / 3.932 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1245/12.97, allocations: 57.64 MB / 3.988 GB, free: 45.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/12.97, allocations: 131.8 kB / 3.989 GB, free: 45.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/12.98, allocations: 251.6 kB / 3.989 GB, free: 45.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005886/12.98, allocations: 2.529 MB / 3.991 GB, free: 45.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006149/12.99, allocations: 3.578 MB / 3.995 GB, free: 44.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.851e-05/12.99, allocations: 19 kB / 3.995 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/12.99, allocations: 9.328 kB / 3.995 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/12.99, allocations: 120.7 kB / 3.995 GB, free: 44.25 MB / 0.9948 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.03084/13.02, allocations: 23.33 MB / 4.018 GB, free: 29.78 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/13.02, allocations: 2.844 MB / 4.02 GB, free: 28.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/13.02, allocations: 0.9897 MB / 4.021 GB, free: 28.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/13.03, allocations: 3.935 MB / 4.025 GB, free: 24.17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/13.03, allocations: 61.5 kB / 4.025 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 5.069e-06/13.03, allocations: 4 kB / 4.025 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.008416/13.03, allocations: 2.881 MB / 4.028 GB, free: 23.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/13.03, allocations: 78.97 kB / 4.028 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006584/13.04, allocations: 3.289 MB / 4.031 GB, free: 23.24 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006623/13.04, allocations: 29.48 kB / 4.031 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/13.04, allocations: 2.771 MB / 4.034 GB, free: 21.03 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/13.04, allocations: 0.7539 MB / 4.035 GB, free: 20.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/13.04, allocations: 3.938 kB / 4.035 GB, free: 20.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001368/13.04, allocations: 413.3 kB / 4.035 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/13.05, allocations: 0.7264 MB / 4.036 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/13.05, allocations: 1.702 MB / 4.038 GB, free: 18.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/13.05, allocations: 1.373 MB / 4.039 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/13.05, allocations: 3.531 kB / 4.039 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008996/13.06, allocations: 3.471 MB / 4.042 GB, free: 16.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002466/13.06, allocations: 10.31 MB / 4.052 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/13.06, allocations: 19.47 kB / 4.052 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/13.06, allocations: 345.2 kB / 4.053 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/13.07, allocations: 0.5254 MB / 4.053 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/13.07, allocations: 2.755 MB / 4.056 GB, free: 18.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006884/13.07, allocations: 0.4969 MB / 4.056 GB, free: 18.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/13.07, allocations: 130.2 kB / 4.057 GB, free: 18.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/13.08, allocations: 3.781 kB / 4.057 GB, free: 18.65 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006287/13.08, allocations: 2.759 MB / 4.059 GB, free: 17.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/13.08, allocations: 19.16 kB / 4.059 GB, free: 17.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008911/13.08, allocations: 350.2 kB / 4.06 GB, free: 17.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/13.08, allocations: 0.5271 MB / 4.06 GB, free: 17.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/13.09, allocations: 7.393 MB / 4.067 GB, free: 11.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/13.1, allocations: 466.3 kB / 4.068 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007851/13.1, allocations: 131.8 kB / 4.068 GB, free: 11 MB / 1.01 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 () * 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.001405/13.1, allocations: 188 kB / 4.068 GB, free: 10.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002808/13.1, allocations: 0.4961 MB / 4.069 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/13.12, allocations: 3.757 MB / 4.072 GB, free: 9.137 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-05/13.12, allocations: 41.36 kB / 4.072 GB, free: 9.129 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/13.12, allocations: 3.75 kB / 4.072 GB, free: 9.129 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005871/13.12, allocations: 2.632 MB / 4.075 GB, free: 7.883 MB / 1.01 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.02126/13.14, allocations: 8.038 MB / 4.083 GB, free: 1.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/13.14, allocations: 4 kB / 4.083 GB, free: 1.246 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/13.14, allocations: 393.5 kB / 4.083 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/13.14, allocations: 228.7 kB / 4.083 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/13.15, allocations: 35.27 kB / 4.083 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/13.15, allocations: 2.514 MB / 4.086 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/13.15, allocations: 0 / 4.086 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/13.16, allocations: 4.704 MB / 4.09 GB, free: 9.758 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/13.16, allocations: 0.9656 MB / 4.091 GB, free: 8.93 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/13.16, allocations: 7.625 kB / 4.091 GB, free: 8.926 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004342/13.17, allocations: 396.7 kB / 4.092 GB, free: 8.645 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/13.17, allocations: 163.2 kB / 4.092 GB, free: 8.543 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/13.17, allocations: 102.2 kB / 4.092 GB, free: 8.461 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.005642/13.17, allocations: 2.437 MB / 4.094 GB, free: 6.281 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.51e-07/13.17, allocations: 0 / 4.094 GB, free: 6.281 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02148/13.2, allocations: 3.446 MB / 4.098 GB, free: 2.883 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 () * 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.9875/14.18, allocations: 3.426 MB / 4.101 GB, free: 82.58 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01199/14.19, allocations: 4.234 MB / 4.105 GB, free: 82.07 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/14.19, allocations: 5.125 kB / 4.105 GB, free: 82.07 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/14.2, allocations: 1.235 MB / 4.106 GB, free: 82.05 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02131/14.22, allocations: 2.641 MB / 4.109 GB, free: 82.03 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/14.24, allocations: 7.134 MB / 4.116 GB, free: 80.12 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/14.25, allocations: 2.996 MB / 4.119 GB, free: 79.32 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01088/14.26, allocations: 1.478 MB / 4.12 GB, free: 79.27 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009384/14.26, allocations: 317.8 kB / 4.121 GB, free: 79.27 MB / 1.026 GB Notification: Performance of SimCode: time 1.012e-06/14.26, allocations: 2.969 kB / 4.121 GB, free: 79.27 MB / 1.026 GB Notification: Performance of Templates: time 0.1985/14.46, allocations: 114.5 MB / 4.232 GB, free: 71.61 MB / 1.026 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