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.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.93 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.001146/0.001146, allocations: 187.8 kB / 316.3 MB, free: 3.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.8/1.8, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009708/0.0009708, allocations: 103.5 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.867e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.18/7.448, allocations: 2.451 GB / 3.336 GB, free: 303 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/7.448, allocations: 95.38 kB / 3.337 GB, free: 302.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.975/11.42, allocations: 0.9677 GB / 4.304 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/11.42, allocations: 0 / 4.304 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002465/11.42, allocations: 53.34 kB / 4.304 GB, free: 120.4 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.006719/11.43, allocations: 1.873 MB / 4.306 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/11.43, allocations: 9.625 kB / 4.306 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/11.43, allocations: 346.3 kB / 4.306 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/11.44, allocations: 1.6 MB / 4.308 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/11.44, allocations: 34.38 kB / 4.308 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/11.44, allocations: 71.5 kB / 4.308 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002242/11.44, allocations: 0.7832 MB / 4.309 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/11.44, allocations: 0.9793 MB / 4.31 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/11.44, allocations: 1.438 kB / 4.31 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/11.44, allocations: 4.703 kB / 4.31 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/11.44, allocations: 44.34 kB / 4.31 GB, free: 119.3 MB / 0.8855 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.008695/11.45, allocations: 5.285 MB / 4.315 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/11.45, allocations: 0.8034 MB / 4.316 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/11.45, allocations: 357.8 kB / 4.316 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/11.45, allocations: 0.6026 MB / 4.317 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/11.45, allocations: 49.77 kB / 4.317 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 4.348e-06/11.45, allocations: 2.219 kB / 4.317 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002355/11.46, allocations: 0.8103 MB / 4.318 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/11.46, allocations: 58.78 kB / 4.318 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/11.46, allocations: 0.8762 MB / 4.319 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/11.46, allocations: 29.02 kB / 4.319 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/11.46, allocations: 0.6937 MB / 4.319 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/11.46, allocations: 236.8 kB / 4.319 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/11.46, allocations: 0.9688 kB / 4.319 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000105/11.46, allocations: 331 kB / 4.32 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/11.46, allocations: 232.7 kB / 4.32 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/11.46, allocations: 484.8 kB / 4.32 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/11.46, allocations: 321 kB / 4.321 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/11.46, allocations: 0.9688 kB / 4.321 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001979/11.46, allocations: 0.8814 MB / 4.322 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002708/11.46, allocations: 1.074 MB / 4.323 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/11.46, allocations: 6.484 kB / 4.323 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/11.46, allocations: 85.05 kB / 4.323 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/11.46, allocations: 161.5 kB / 4.323 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000918/11.47, allocations: 1.778 MB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/11.47, allocations: 133.2 kB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/11.47, allocations: 32.59 kB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/11.47, allocations: 4.688 kB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/11.47, allocations: 0.6628 MB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/11.47, allocations: 4.469 kB / 4.326 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/11.47, allocations: 95.44 kB / 4.326 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/11.47, allocations: 152.5 kB / 4.326 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/11.47, allocations: 2.949 MB / 4.329 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/11.47, allocations: 137 kB / 4.329 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/11.47, allocations: 28.34 kB / 4.329 GB, free: 109.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003642/11.47, allocations: 131.2 kB / 4.329 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/11.48, allocations: 135.5 kB / 4.329 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/11.48, allocations: 0.8307 MB / 4.33 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/11.48, allocations: 11.69 kB / 4.33 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/11.48, allocations: 0 / 4.33 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/11.48, allocations: 0.9709 MB / 4.331 GB, free: 108.3 MB / 0.8855 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.004736/11.48, allocations: 2.192 MB / 4.333 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/11.48, allocations: 1.594 kB / 4.333 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/11.48, allocations: 161.5 kB / 4.333 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/11.48, allocations: 69.48 kB / 4.333 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/11.48, allocations: 10.2 kB / 4.333 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/11.49, allocations: 1.734 MB / 4.335 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/11.49, allocations: 6.625 kB / 4.335 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/11.49, allocations: 1.431 MB / 4.336 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008309/11.49, allocations: 316.6 kB / 4.337 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/11.49, allocations: 14.36 kB / 4.337 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/11.49, allocations: 112.3 kB / 4.337 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/11.49, allocations: 51.67 kB / 4.337 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/11.49, allocations: 27.75 kB / 4.337 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001142/11.49, allocations: 0.6714 MB / 4.337 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/11.49, allocations: 0 / 4.337 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003675/11.49, allocations: 0.9267 MB / 4.338 GB, free: 105.5 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 () * 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.003441/11.5, allocations: 2.238 MB / 4.341 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002385/11.5, allocations: 1.257 MB / 4.342 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/11.5, allocations: 3.469 kB / 4.342 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/11.5, allocations: 351.2 kB / 4.342 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/11.51, allocations: 0.7484 MB / 4.343 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/11.51, allocations: 2.054 MB / 4.345 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/11.51, allocations: 1.322 MB / 4.346 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002157/11.51, allocations: 424 kB / 4.347 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/11.51, allocations: 79.97 kB / 4.347 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/11.51, allocations: 0 / 4.347 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.06629/11.58, allocations: 37.27 MB / 4.383 GB, free: 102 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