Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.611/2.611, allocations: 390.3 MB / 402.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 184.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008725, allocations: 87.91 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.036e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.238/6.533, allocations: 2.176 GB / 3.395 GB, free: 111.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/6.533, allocations: 92.95 kB / 3.395 GB, free: 111.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.85/11.38, allocations: 1.019 GB / 4.414 GB, free: 209.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.414e-06/11.38, allocations: 0 / 4.414 GB, free: 209.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001725/11.38, allocations: 50.34 kB / 4.414 GB, free: 209.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006047/11.39, allocations: 1.871 MB / 4.416 GB, free: 209 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/11.39, allocations: 11.56 kB / 4.416 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/11.39, allocations: 348.1 kB / 4.416 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/11.4, allocations: 1.587 MB / 4.417 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/11.4, allocations: 92.8 kB / 4.418 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/11.4, allocations: 118.8 kB / 4.418 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/11.4, allocations: 1.134 MB / 4.419 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/11.4, allocations: 5.812 kB / 4.419 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/11.4, allocations: 56.27 kB / 4.419 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/11.4, allocations: 44.5 kB / 4.419 GB, free: 208.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/11.4, allocations: 0.8507 MB / 4.42 GB, free: 208.4 MB / 1.167 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.009526/11.41, allocations: 5.515 MB / 4.425 GB, free: 205.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/11.41, allocations: 0.8312 MB / 4.426 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/11.41, allocations: 382.8 kB / 4.426 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/11.41, allocations: 0.601 MB / 4.427 GB, free: 205 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/11.41, allocations: 45.97 kB / 4.427 GB, free: 204.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/11.41, allocations: 0 / 4.427 GB, free: 204.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002446/11.42, allocations: 0.8152 MB / 4.428 GB, free: 204.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/11.42, allocations: 61.98 kB / 4.428 GB, free: 204.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/11.42, allocations: 1.04 MB / 4.429 GB, free: 204.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/11.42, allocations: 44.27 kB / 4.429 GB, free: 204.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/11.42, allocations: 0.6929 MB / 4.429 GB, free: 204.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/11.42, allocations: 247.5 kB / 4.43 GB, free: 204.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/11.42, allocations: 14.81 kB / 4.43 GB, free: 204.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/11.42, allocations: 335 kB / 4.43 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/11.42, allocations: 243.3 kB / 4.43 GB, free: 203.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/11.42, allocations: 464.5 kB / 4.431 GB, free: 203.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/11.42, allocations: 325.7 kB / 4.431 GB, free: 203.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/11.42, allocations: 1.344 kB / 4.431 GB, free: 203.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001926/11.42, allocations: 0.9026 MB / 4.432 GB, free: 203.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/11.42, allocations: 0.9003 MB / 4.433 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/11.42, allocations: 2.688 kB / 4.433 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/11.42, allocations: 107.4 kB / 4.433 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/11.43, allocations: 158.4 kB / 4.433 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/11.43, allocations: 1.763 MB / 4.435 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/11.43, allocations: 169 kB / 4.435 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/11.43, allocations: 32.39 kB / 4.435 GB, free: 201 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/11.43, allocations: 3.938 kB / 4.435 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00156/11.43, allocations: 0.7276 MB / 4.436 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/11.43, allocations: 6.375 kB / 4.436 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/11.43, allocations: 90.81 kB / 4.436 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/11.43, allocations: 155.1 kB / 4.436 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/11.43, allocations: 3.123 MB / 4.439 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/11.44, allocations: 161.9 kB / 4.439 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/11.44, allocations: 35.36 kB / 4.439 GB, free: 198.2 MB / 1.167 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.0004501/11.44, allocations: 146.8 kB / 4.439 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/11.44, allocations: 150.6 kB / 4.439 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/11.44, allocations: 0.8993 MB / 4.44 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/11.44, allocations: 6.312 kB / 4.44 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/11.44, allocations: 5.75 kB / 4.44 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/11.44, allocations: 1.019 MB / 4.441 GB, free: 197.4 MB / 1.167 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.005166/11.45, allocations: 2.387 MB / 4.444 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/11.45, allocations: 2.969 kB / 4.444 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/11.45, allocations: 154 kB / 4.444 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/11.45, allocations: 101.9 kB / 4.444 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/11.45, allocations: 16.88 kB / 4.444 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008085/11.45, allocations: 1.728 MB / 4.446 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/11.45, allocations: 4.5 kB / 4.446 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/11.45, allocations: 1.488 MB / 4.447 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/11.45, allocations: 331 kB / 4.447 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/11.45, allocations: 19.92 kB / 4.447 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/11.45, allocations: 119.1 kB / 4.448 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/11.45, allocations: 49.56 kB / 4.448 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/11.45, allocations: 31.25 kB / 4.448 GB, free: 194.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001669/11.46, allocations: 0.812 MB / 4.448 GB, free: 194.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/11.46, allocations: 2.188 kB / 4.448 GB, free: 194.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004166/11.46, allocations: 0.9816 MB / 4.449 GB, free: 194.5 MB / 1.167 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.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,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.003929/11.46, allocations: 2.029 MB / 4.451 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003/11.47, allocations: 1.339 MB / 4.453 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/11.47, allocations: 1.25 kB / 4.453 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/11.47, allocations: 379 kB / 4.453 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/11.47, allocations: 0.807 MB / 4.454 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/11.48, allocations: 2.117 MB / 4.456 GB, free: 193 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/11.48, allocations: 1.321 MB / 4.457 GB, free: 192.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00239/11.48, allocations: 457 kB / 4.458 GB, free: 192.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/11.48, allocations: 81.94 kB / 4.458 GB, free: 192.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.573e-06/11.48, allocations: 1.438 kB / 4.458 GB, free: 192.2 MB / 1.167 GB Notification: Performance of Templates: time 0.08348/11.56, allocations: 55.43 MB / 4.512 GB, free: 190.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches