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.494/1.494, allocations: 249.3 MB / 261.9 MB, free: 5.879 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.001157/0.001157, allocations: 178.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000875/0.000875, allocations: 94.77 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.956e-05/5.958e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.946/7.205, allocations: 2.451 GB / 3.343 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/7.206, allocations: 94.48 kB / 3.343 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.03/11.24, allocations: 0.9766 GB / 4.319 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.916e-06/11.24, allocations: 0 / 4.319 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003516/11.24, allocations: 50.55 kB / 4.32 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.007455/11.24, allocations: 1.877 MB / 4.321 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/11.24, allocations: 7.75 kB / 4.321 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/11.25, allocations: 345.5 kB / 4.322 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/11.25, allocations: 1.593 MB / 4.323 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/11.25, allocations: 93.77 kB / 4.323 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/11.25, allocations: 120 kB / 4.323 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/11.26, allocations: 1.138 MB / 4.325 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/11.26, allocations: 0 / 4.325 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/11.26, allocations: 44.44 kB / 4.325 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.738e-05/11.26, allocations: 46.58 kB / 4.325 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/11.26, allocations: 0.854 MB / 4.325 GB, free: 119 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.01066/11.27, allocations: 5.52 MB / 4.331 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/11.27, allocations: 0.8268 MB / 4.332 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/11.27, allocations: 378.5 kB / 4.332 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/11.27, allocations: 0.6031 MB / 4.333 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/11.27, allocations: 44.53 kB / 4.333 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 6.312e-06/11.27, allocations: 0 / 4.333 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002109/11.27, allocations: 0.8233 MB / 4.333 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/11.27, allocations: 64.88 kB / 4.334 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/11.28, allocations: 1.031 MB / 4.335 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/11.28, allocations: 47.61 kB / 4.335 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/11.28, allocations: 0.6904 MB / 4.335 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/11.28, allocations: 247.5 kB / 4.336 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/11.28, allocations: 12.97 kB / 4.336 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001086/11.28, allocations: 331.5 kB / 4.336 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/11.28, allocations: 246.7 kB / 4.336 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/11.28, allocations: 482.1 kB / 4.337 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/11.28, allocations: 320.6 kB / 4.337 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/11.28, allocations: 0 / 4.337 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001442/11.28, allocations: 0.8981 MB / 4.338 GB, free: 114 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/11.28, allocations: 0.8939 MB / 4.339 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/11.28, allocations: 14.66 kB / 4.339 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/11.28, allocations: 95.16 kB / 4.339 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/11.28, allocations: 165.4 kB / 4.339 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009526/11.28, allocations: 1.752 MB / 4.341 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/11.28, allocations: 167.6 kB / 4.341 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/11.28, allocations: 31.5 kB / 4.341 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/11.28, allocations: 3.406 kB / 4.341 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/11.29, allocations: 0.7262 MB / 4.341 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/11.29, allocations: 5.594 kB / 4.341 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/11.29, allocations: 92.39 kB / 4.342 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/11.29, allocations: 154.6 kB / 4.342 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/11.29, allocations: 3.126 MB / 4.345 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/11.29, allocations: 157.2 kB / 4.345 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/11.29, allocations: 33.23 kB / 4.345 GB, free: 108.7 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 () * 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.0002562/11.29, allocations: 156.7 kB / 4.345 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/11.29, allocations: 146.8 kB / 4.345 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/11.29, allocations: 0.8877 MB / 4.346 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/11.29, allocations: 10.52 kB / 4.346 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/11.29, allocations: 0 / 4.346 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/11.29, allocations: 1.01 MB / 4.347 GB, free: 107.9 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.003919/11.3, allocations: 2.381 MB / 4.349 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/11.3, allocations: 3.719 kB / 4.349 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/11.3, allocations: 159.1 kB / 4.35 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/11.3, allocations: 88.66 kB / 4.35 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/11.3, allocations: 23.94 kB / 4.35 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007756/11.3, allocations: 1.728 MB / 4.351 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/11.3, allocations: 11.2 kB / 4.351 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/11.3, allocations: 1.511 MB / 4.353 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/11.3, allocations: 327.6 kB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/11.3, allocations: 16.16 kB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/11.3, allocations: 120.2 kB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/11.3, allocations: 53.88 kB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/11.3, allocations: 29.23 kB / 4.353 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001095/11.3, allocations: 0.8103 MB / 4.354 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/11.3, allocations: 0 / 4.354 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003178/11.31, allocations: 0.9917 MB / 4.355 GB, free: 104.8 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.003267/11.31, allocations: 2.045 MB / 4.357 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00258/11.31, allocations: 1.328 MB / 4.358 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/11.31, allocations: 0 / 4.358 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/11.31, allocations: 370.8 kB / 4.359 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/11.32, allocations: 0.8065 MB / 4.36 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/11.32, allocations: 2.1 MB / 4.362 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/11.32, allocations: 1.319 MB / 4.363 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001945/11.33, allocations: 474.5 kB / 4.363 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/11.33, allocations: 76.59 kB / 4.363 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.303e-06/11.33, allocations: 0 / 4.363 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.08709/11.41, allocations: 55.66 MB / 4.418 GB, free: 99.69 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