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.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001696/0.001696, allocations: 182.3 kB / 0.4902 GB, free: 2.293 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001034/0.001034, allocations: 84.34 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 12.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.349, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.522/5.871, allocations: 2.176 GB / 3.405 GB, free: 275.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.871, allocations: 104.5 kB / 3.405 GB, free: 275.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.436/9.308, allocations: 1.021 GB / 4.426 GB, free: 123.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.166e-06/9.308, allocations: 0 / 4.426 GB, free: 123.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003415/9.308, allocations: 51.98 kB / 4.426 GB, free: 123.7 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.007385/9.315, allocations: 2.175 MB / 4.428 GB, free: 121.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/9.315, allocations: 8.031 kB / 4.428 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/9.318, allocations: 350.7 kB / 4.428 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/9.323, allocations: 1.611 MB / 4.43 GB, free: 119.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/9.323, allocations: 90.16 kB / 4.43 GB, free: 119.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/9.323, allocations: 119.9 kB / 4.43 GB, free: 119.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/9.326, allocations: 1.178 MB / 4.431 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/9.326, allocations: 4 kB / 4.431 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/9.326, allocations: 43.98 kB / 4.431 GB, free: 118 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/9.326, allocations: 54.12 kB / 4.431 GB, free: 118 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/9.328, allocations: 0.9374 MB / 4.432 GB, free: 117 MB / 1.167 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.007535/9.336, allocations: 5.507 MB / 4.438 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/9.337, allocations: 0.8921 MB / 4.439 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/9.337, allocations: 0.6019 MB / 4.439 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/9.337, allocations: 43.12 kB / 4.439 GB, free: 109.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.965e-06/9.337, allocations: 0 / 4.439 GB, free: 109.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002967/9.34, allocations: 1.4 MB / 4.441 GB, free: 107.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/9.34, allocations: 63.92 kB / 4.441 GB, free: 107.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/9.342, allocations: 1.058 MB / 4.442 GB, free: 106.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/9.342, allocations: 45.7 kB / 4.442 GB, free: 106.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/9.343, allocations: 0.6854 MB / 4.442 GB, free: 106 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/9.343, allocations: 248.4 kB / 4.443 GB, free: 105.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/9.343, allocations: 16 kB / 4.443 GB, free: 105.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/9.343, allocations: 330 kB / 4.443 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/9.343, allocations: 285.8 kB / 4.443 GB, free: 105.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/9.344, allocations: 0.5019 MB / 4.444 GB, free: 104.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/9.345, allocations: 352.9 kB / 4.444 GB, free: 104.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/9.345, allocations: 3.5 kB / 4.444 GB, free: 104.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001597/9.346, allocations: 0.9852 MB / 4.445 GB, free: 103.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/9.346, allocations: 0.8983 MB / 4.446 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/9.346, allocations: 0 / 4.446 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/9.347, allocations: 109.5 kB / 4.446 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/9.347, allocations: 151.8 kB / 4.446 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/9.348, allocations: 1.761 MB / 4.448 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/9.35, allocations: 159.3 kB / 4.448 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/9.35, allocations: 35.94 kB / 4.448 GB, free: 100 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/9.35, allocations: 5.25 kB / 4.448 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001393/9.351, allocations: 0.8055 MB / 4.449 GB, free: 99.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/9.351, allocations: 160 / 4.449 GB, free: 99.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/9.351, allocations: 97.64 kB / 4.449 GB, free: 99.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/9.352, allocations: 147.8 kB / 4.449 GB, free: 98.94 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/9.354, allocations: 3.153 MB / 4.452 GB, free: 95.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/9.356, allocations: 171.3 kB / 4.452 GB, free: 95.33 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/9.356, allocations: 24 kB / 4.452 GB, free: 95.31 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 () * 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.0008585/9.357, allocations: 441.5 kB / 4.453 GB, free: 94.87 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/9.357, allocations: 146.2 kB / 4.453 GB, free: 94.72 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/9.359, allocations: 0.977 MB / 4.454 GB, free: 93.72 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/9.359, allocations: 11.95 kB / 4.454 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/9.359, allocations: 0 / 4.454 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/9.36, allocations: 1.098 MB / 4.455 GB, free: 92.52 MB / 1.167 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.004501/9.365, allocations: 2.451 MB / 4.457 GB, free: 89.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/9.365, allocations: 0 / 4.457 GB, free: 89.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/9.366, allocations: 160.1 kB / 4.457 GB, free: 89.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/9.366, allocations: 89.78 kB / 4.458 GB, free: 89.73 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/9.366, allocations: 27.98 kB / 4.458 GB, free: 89.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/9.367, allocations: 1.726 MB / 4.459 GB, free: 87.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/9.367, allocations: 11.08 kB / 4.459 GB, free: 87.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/9.369, allocations: 1.601 MB / 4.461 GB, free: 86.17 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/9.369, allocations: 327.1 kB / 4.461 GB, free: 85.83 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/9.37, allocations: 20 kB / 4.461 GB, free: 85.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/9.371, allocations: 123.7 kB / 4.461 GB, free: 85.69 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/9.371, allocations: 48.5 kB / 4.461 GB, free: 85.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/9.371, allocations: 27.98 kB / 4.461 GB, free: 85.62 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009655/9.372, allocations: 0.8243 MB / 4.462 GB, free: 84.79 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/9.372, allocations: 0 / 4.462 GB, free: 84.79 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002727/9.375, allocations: 0.9826 MB / 4.463 GB, free: 83.81 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 () * 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.002487/9.377, allocations: 2.042 MB / 4.465 GB, free: 81.71 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00234/9.38, allocations: 1.408 MB / 4.467 GB, free: 80.28 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/9.38, allocations: 0 / 4.467 GB, free: 80.28 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/9.38, allocations: 415.3 kB / 4.467 GB, free: 79.87 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/9.384, allocations: 0.7972 MB / 4.468 GB, free: 79.09 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/9.387, allocations: 3.281 MB / 4.471 GB, free: 75.75 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/9.388, allocations: 1.312 MB / 4.472 GB, free: 74.41 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001279/9.389, allocations: 351.2 kB / 4.473 GB, free: 74.06 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/9.39, allocations: 111.3 kB / 4.473 GB, free: 73.95 MB / 1.167 GB Notification: Performance of SimCode: time 7.72e-07/9.39, allocations: 0 / 4.473 GB, free: 73.95 MB / 1.167 GB Notification: Performance of Templates: time 0.06438/9.454, allocations: 48.16 MB / 4.52 GB, free: 26.12 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