Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, 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.001084/0.001084, allocations: 186.3 kB / 326.5 MB, free: 2.234 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.608/1.608, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008823/0.0008823, allocations: 100.4 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 12.62 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2099, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.329/5.538, allocations: 2.451 GB / 3.351 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/5.539, allocations: 102.1 kB / 3.351 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/8.707, allocations: 0.9784 GB / 4.33 GB, free: 126 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/8.707, allocations: 0 / 4.33 GB, free: 126 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002262/8.707, allocations: 53.55 kB / 4.33 GB, free: 125.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005931/8.713, allocations: 2.175 MB / 4.332 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/8.713, allocations: 7.375 kB / 4.332 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/8.715, allocations: 349 kB / 4.332 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/8.719, allocations: 1.604 MB / 4.334 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/8.719, allocations: 91.89 kB / 4.334 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/8.72, allocations: 121.3 kB / 4.334 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/8.722, allocations: 1.178 MB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/8.722, allocations: 7.406 kB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/8.722, allocations: 48.91 kB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/8.722, allocations: 44.33 kB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/8.724, allocations: 0.9358 MB / 4.336 GB, free: 121.8 MB / 0.8855 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.007798/8.732, allocations: 5.519 MB / 4.341 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/8.733, allocations: 0.8693 MB / 4.342 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/8.734, allocations: 0.598 MB / 4.343 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/8.734, allocations: 50.34 kB / 4.343 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/8.734, allocations: 7.781 kB / 4.343 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.003251/8.737, allocations: 1.378 MB / 4.344 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/8.737, allocations: 71.89 kB / 4.344 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/8.739, allocations: 1.05 MB / 4.345 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/8.739, allocations: 45.7 kB / 4.345 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/8.74, allocations: 0.6923 MB / 4.346 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/8.74, allocations: 245.8 kB / 4.346 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/8.74, allocations: 16 kB / 4.346 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/8.74, allocations: 337.9 kB / 4.347 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/8.74, allocations: 275.7 kB / 4.347 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/8.741, allocations: 0.5212 MB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/8.742, allocations: 351.9 kB / 4.348 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/8.742, allocations: 0 / 4.348 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001681/8.743, allocations: 0.9718 MB / 4.349 GB, free: 110 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/8.744, allocations: 0.9003 MB / 4.35 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/8.744, allocations: 4 kB / 4.35 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/8.744, allocations: 106.4 kB / 4.35 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/8.745, allocations: 162.7 kB / 4.35 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008033/8.745, allocations: 1.763 MB / 4.352 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/8.747, allocations: 164 kB / 4.352 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/8.747, allocations: 31.98 kB / 4.352 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/8.747, allocations: 4 kB / 4.352 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/8.748, allocations: 0.7976 MB / 4.353 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/8.748, allocations: 6.5 kB / 4.353 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/8.749, allocations: 93.64 kB / 4.353 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/8.749, allocations: 150.8 kB / 4.353 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/8.752, allocations: 3.157 MB / 4.356 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/8.753, allocations: 155.5 kB / 4.356 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/8.753, allocations: 33.45 kB / 4.356 GB, free: 102.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008714/8.754, allocations: 442.6 kB / 4.356 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/8.754, allocations: 146.2 kB / 4.357 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/8.756, allocations: 0.9723 MB / 4.358 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/8.756, allocations: 8 kB / 4.358 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/8.756, allocations: 3.031 kB / 4.358 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/8.758, allocations: 1.086 MB / 4.359 GB, free: 99.36 MB / 0.8855 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.004348/8.762, allocations: 2.447 MB / 4.361 GB, free: 96.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/8.762, allocations: 0 / 4.361 GB, free: 96.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/8.763, allocations: 168.3 kB / 4.361 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/8.763, allocations: 93.53 kB / 4.361 GB, free: 96.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/8.763, allocations: 20 kB / 4.361 GB, free: 96.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006539/8.764, allocations: 1.734 MB / 4.363 GB, free: 94.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/8.764, allocations: 0 / 4.363 GB, free: 94.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/8.766, allocations: 1.616 MB / 4.365 GB, free: 93.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/8.767, allocations: 331.1 kB / 4.365 GB, free: 92.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/8.767, allocations: 19.98 kB / 4.365 GB, free: 92.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/8.768, allocations: 115.7 kB / 4.365 GB, free: 92.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/8.768, allocations: 56.45 kB / 4.365 GB, free: 92.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/8.768, allocations: 31.97 kB / 4.365 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001171/8.77, allocations: 0.8241 MB / 4.366 GB, free: 91.63 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/8.77, allocations: 0 / 4.366 GB, free: 91.63 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003276/8.773, allocations: 0.9903 MB / 4.367 GB, free: 90.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003098/8.776, allocations: 2.053 MB / 4.369 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00263/8.779, allocations: 1.385 MB / 4.37 GB, free: 87.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/8.779, allocations: 4 kB / 4.37 GB, free: 87.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/8.779, allocations: 411.7 kB / 4.371 GB, free: 87.03 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/8.783, allocations: 0.8009 MB / 4.371 GB, free: 86.26 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/8.788, allocations: 3.271 MB / 4.375 GB, free: 82.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/8.789, allocations: 1.316 MB / 4.376 GB, free: 81.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001706/8.79, allocations: 344 kB / 4.376 GB, free: 81.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/8.791, allocations: 107.4 kB / 4.376 GB, free: 81.18 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/8.791, allocations: 0 / 4.376 GB, free: 81.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.06423/8.855, allocations: 48.41 MB / 4.424 GB, free: 33.53 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches