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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.16/1.16, allocations: 249.4 MB / 256.7 MB, free: 15.82 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.0009481/0.0009481, allocations: 193 kB / 316 MB, free: 7.211 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.17/1.17, allocations: 205.1 MB / 0.5667 GB, free: 24.05 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.0008673/0.0008673, allocations: 98 kB / 0.671 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.184e-06, allocations: 4 kB / 0.7807 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 106.3 MB / 0.8846 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5842/0.9137, allocations: 401.8 MB / 1.277 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.9139, allocations: 95.25 kB / 1.277 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.705/8.619, allocations: 2.663 GB / 3.94 GB, free: 50.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000582/8.619, allocations: 169.1 kB / 3.941 GB, free: 50.25 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.01138/8.631, allocations: 5.929 MB / 3.946 GB, free: 47.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/8.631, allocations: 10.34 kB / 3.946 GB, free: 47.48 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/8.633, allocations: 0.7794 MB / 3.947 GB, free: 47.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1296/8.763, allocations: 58.05 MB / 4.004 GB, free: 44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/8.763, allocations: 130.8 kB / 4.004 GB, free: 44 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/8.764, allocations: 253.5 kB / 4.004 GB, free: 44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004411/8.768, allocations: 2.542 MB / 4.007 GB, free: 43.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/8.773, allocations: 3.589 MB / 4.01 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/8.773, allocations: 10.81 kB / 4.01 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/8.773, allocations: 14.53 kB / 4.01 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.499e-05/8.773, allocations: 119.2 kB / 4.01 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/8.803, allocations: 25.99 MB / 4.036 GB, free: 27.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/8.805, allocations: 1.094 MB / 4.037 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/8.807, allocations: 1.097 MB / 4.038 GB, free: 27.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/8.809, allocations: 3.935 MB / 4.042 GB, free: 22.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/8.81, allocations: 65.75 kB / 4.042 GB, free: 22.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 6.022e-06/8.81, allocations: 1.438 kB / 4.042 GB, free: 22.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.009947/8.82, allocations: 2.96 MB / 4.045 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/8.82, allocations: 80.47 kB / 4.045 GB, free: 22.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/8.824, allocations: 3.289 MB / 4.048 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/8.825, allocations: 30.83 kB / 4.048 GB, free: 21.81 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/8.826, allocations: 1.706 MB / 4.05 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009197/8.827, allocations: 0.7537 MB / 4.05 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/8.827, allocations: 2.844 kB / 4.05 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001064/8.827, allocations: 407.8 kB / 4.051 GB, free: 20.11 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/8.828, allocations: 0.7374 MB / 4.051 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/8.829, allocations: 1.72 MB / 4.053 GB, free: 18.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/8.833, allocations: 1.411 MB / 4.055 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/8.833, allocations: 7.75 kB / 4.055 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009475/8.843, allocations: 3.558 MB / 4.058 GB, free: 18.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002331/8.845, allocations: 10.28 MB / 4.068 GB, free: 23.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/8.845, allocations: 22.56 kB / 4.068 GB, free: 23.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/8.846, allocations: 380.3 kB / 4.068 GB, free: 23.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/8.848, allocations: 0.5144 MB / 4.069 GB, free: 23.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/8.85, allocations: 2.844 MB / 4.072 GB, free: 21.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/8.855, allocations: 0.4984 MB / 4.072 GB, free: 21.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/8.855, allocations: 135.2 kB / 4.072 GB, free: 21.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/8.855, allocations: 3.5 kB / 4.072 GB, free: 21.45 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005896/8.861, allocations: 2.834 MB / 4.075 GB, free: 21.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/8.861, allocations: 18.47 kB / 4.075 GB, free: 21.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/8.862, allocations: 388.5 kB / 4.075 GB, free: 21.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/8.864, allocations: 0.5142 MB / 4.076 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/8.871, allocations: 7.312 MB / 4.083 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/8.876, allocations: 473 kB / 4.084 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/8.877, allocations: 126.7 kB / 4.084 GB, free: 15.87 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 (291): * Single equations (assignments): 287 * 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 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000794/8.877, allocations: 188 kB / 4.084 GB, free: 15.71 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/8.878, allocations: 0.4985 MB / 4.084 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008801/8.887, allocations: 4.147 MB / 4.088 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/8.887, allocations: 33.92 kB / 4.088 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/8.887, allocations: 0 / 4.088 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005701/8.893, allocations: 2.751 MB / 4.091 GB, free: 14.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/8.909, allocations: 8.117 MB / 4.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/8.91, allocations: 8.969 kB / 4.099 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/8.911, allocations: 386.2 kB / 4.099 GB, free: 13.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/8.911, allocations: 227.8 kB / 4.1 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/8.912, allocations: 39.42 kB / 4.1 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/8.913, allocations: 2.518 MB / 4.102 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/8.913, allocations: 0 / 4.102 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00793/8.921, allocations: 4.85 MB / 4.107 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/8.924, allocations: 0.9557 MB / 4.108 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/8.925, allocations: 5.812 kB / 4.108 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/8.929, allocations: 398.3 kB / 4.108 GB, free: 9.898 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/8.929, allocations: 144.4 kB / 4.108 GB, free: 9.895 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/8.929, allocations: 104 kB / 4.108 GB, free: 9.895 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.003569/8.933, allocations: 2.44 MB / 4.111 GB, free: 9.715 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0101/8.943, allocations: 3.41 MB / 4.114 GB, free: 9.172 MB / 1.01 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.004776/8.947, allocations: 3.442 MB / 4.118 GB, free: 7.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005916/8.953, allocations: 4.235 MB / 4.122 GB, free: 7.051 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/8.953, allocations: 3.906 kB / 4.122 GB, free: 7.051 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/8.956, allocations: 1.256 MB / 4.123 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/8.967, allocations: 2.54 MB / 4.125 GB, free: 6.895 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/8.979, allocations: 7.294 MB / 4.133 GB, free: 4.797 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/8.982, allocations: 3.455 MB / 4.136 GB, free: 3.887 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/8.982, allocations: 2.953 kB / 4.136 GB, free: 3.887 MB / 1.01 GB Notification: Performance of Templates: time 0.5867/9.568, allocations: 122.5 MB / 4.256 GB, free: 135.5 MB / 1.042 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