Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) 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) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001817/0.001817, allocations: 170.2 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 222.3 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008073/0.0008072, allocations: 90.25 kB / 270.6 MB, free: 13.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8191/0.8191, allocations: 89.59 MB / 408.5 MB, free: 15.77 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004626, allocations: 12 kB / 485.2 MB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 66.01 MB / 0.5383 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.897/2.039, allocations: 0.7558 GB / 1.294 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/2.039, allocations: 80.95 kB / 1.294 GB, free: 153 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.512/3.551, allocations: 422.4 MB / 1.707 GB, free: 82.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/3.551, allocations: 1.125 kB / 1.707 GB, free: 82.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.862e-05/3.551, allocations: 23.2 kB / 1.707 GB, free: 82.62 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007599/3.559, allocations: 2.26 MB / 1.709 GB, free: 81.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/3.559, allocations: 9.688 kB / 1.709 GB, free: 81.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/3.56, allocations: 199.9 kB / 1.709 GB, free: 81.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/3.561, allocations: 0.5023 MB / 1.71 GB, free: 81.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/3.562, allocations: 185.8 kB / 1.71 GB, free: 81.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/3.562, allocations: 73.38 kB / 1.71 GB, free: 81.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/3.564, allocations: 0.7212 MB / 1.711 GB, free: 81.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/3.564, allocations: 3.938 kB / 1.711 GB, free: 81.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/3.564, allocations: 26.28 kB / 1.711 GB, free: 81.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/3.564, allocations: 22.97 kB / 1.711 GB, free: 81.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/3.566, allocations: 0.6507 MB / 1.711 GB, free: 81.31 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/3.571, allocations: 2.789 MB / 1.714 GB, free: 79.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/3.572, allocations: 0.6702 MB / 1.715 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000951/3.573, allocations: 384 kB / 1.715 GB, free: 79.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/3.575, allocations: 1.446 MB / 1.716 GB, free: 78.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/3.575, allocations: 38.5 kB / 1.716 GB, free: 78.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.997e-06/3.575, allocations: 0 / 1.716 GB, free: 78.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.005712/3.581, allocations: 1.987 MB / 1.718 GB, free: 78.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/3.581, allocations: 59.27 kB / 1.718 GB, free: 78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/3.581, allocations: 382.7 kB / 1.719 GB, free: 77.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/3.581, allocations: 36.08 kB / 1.719 GB, free: 77.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/3.582, allocations: 321.2 kB / 1.719 GB, free: 77.72 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/3.582, allocations: 213.3 kB / 1.719 GB, free: 77.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/3.582, allocations: 11.81 kB / 1.719 GB, free: 77.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001276/3.582, allocations: 363.4 kB / 1.72 GB, free: 77.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/3.583, allocations: 298.4 kB / 1.72 GB, free: 77.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/3.583, allocations: 301.4 kB / 1.72 GB, free: 77.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/3.585, allocations: 0.6101 MB / 1.721 GB, free: 77.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/3.585, allocations: 0 / 1.721 GB, free: 77.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003353/3.588, allocations: 1.138 MB / 1.722 GB, free: 77.17 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/3.588, allocations: 5.5 kB / 1.722 GB, free: 77.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/3.588, allocations: 4.109 kB / 1.722 GB, free: 77.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008368/3.589, allocations: 254.9 kB / 1.722 GB, free: 77.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/3.59, allocations: 148.1 kB / 1.722 GB, free: 77.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/3.595, allocations: 4.895 MB / 1.727 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/3.595, allocations: 80.88 kB / 1.727 GB, free: 73.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/3.596, allocations: 41.84 kB / 1.727 GB, free: 73.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004591/3.596, allocations: 182.3 kB / 1.727 GB, free: 73.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/3.596, allocations: 65.5 kB / 1.727 GB, free: 73.21 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/3.6, allocations: 1.383 MB / 1.729 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/3.601, allocations: 10.25 kB / 1.729 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/3.601, allocations: 2.25 kB / 1.729 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/3.601, allocations: 4.672 kB / 1.729 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/3.605, allocations: 2.144 MB / 1.731 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/3.605, allocations: 2.344 kB / 1.731 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/3.606, allocations: 153 kB / 1.731 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007356/3.607, allocations: 255.4 kB / 1.731 GB, free: 72.72 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/3.607, allocations: 33.72 kB / 1.731 GB, free: 72.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/3.612, allocations: 4.903 MB / 1.736 GB, free: 68.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/3.612, allocations: 1.125 kB / 1.736 GB, free: 68.95 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/3.616, allocations: 1.612 MB / 1.738 GB, free: 68.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/3.616, allocations: 140 kB / 1.738 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/3.616, allocations: 14.06 kB / 1.738 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/3.617, allocations: 60.97 kB / 1.738 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/3.617, allocations: 65.39 kB / 1.738 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.858e-05/3.617, allocations: 45.5 kB / 1.738 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003731/3.617, allocations: 271.4 kB / 1.738 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/3.617, allocations: 0 / 1.738 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003083/3.621, allocations: 0.7108 MB / 1.739 GB, free: 68.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * 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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004546/3.625, allocations: 1.66 MB / 1.741 GB, free: 68.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002634/3.628, allocations: 1.26 MB / 1.742 GB, free: 67.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.628, allocations: 3.094 kB / 1.742 GB, free: 67.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/3.629, allocations: 0.9559 MB / 1.743 GB, free: 67.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/3.63, allocations: 139.1 kB / 1.743 GB, free: 67.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/3.634, allocations: 1.955 MB / 1.745 GB, free: 66.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/3.634, allocations: 0.9244 MB / 1.746 GB, free: 65.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009634/3.635, allocations: 195.5 kB / 1.746 GB, free: 65.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/3.635, allocations: 83.94 kB / 1.746 GB, free: 65.66 MB / 0.5886 GB Notification: Performance of SimCode: time 2.645e-06/3.635, allocations: 3.594 kB / 1.746 GB, free: 65.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.05088/3.686, allocations: 29.03 MB / 1.774 GB, free: 64.5 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches