Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.001693/0.001693, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009035/0.0009033, allocations: 88.91 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7681/0.7681, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.154e-05, allocations: 4 kB / 472.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3715, allocations: 66.25 MB / 0.5258 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/2.049, allocations: 0.7551 GB / 1.281 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/2.049, allocations: 75.95 kB / 1.281 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.629/3.678, allocations: 439.5 MB / 1.71 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/3.678, allocations: 1.75 kB / 1.71 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.913e-05/3.678, allocations: 21.75 kB / 1.71 GB, free: 103.6 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.006017/3.684, allocations: 2.192 MB / 1.712 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/3.684, allocations: 11.44 kB / 1.712 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/3.685, allocations: 195.2 kB / 1.713 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/3.686, allocations: 498.7 kB / 1.713 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/3.686, allocations: 157.7 kB / 1.713 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/3.686, allocations: 48.25 kB / 1.713 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008067/3.687, allocations: 0.4915 MB / 1.714 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/3.688, allocations: 0.5365 MB / 1.714 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/3.688, allocations: 0 / 1.714 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/3.688, allocations: 0 / 1.714 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/3.688, allocations: 19.2 kB / 1.714 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/3.691, allocations: 2.672 MB / 1.717 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/3.692, allocations: 0.5181 MB / 1.717 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/3.692, allocations: 279.2 kB / 1.718 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/3.693, allocations: 0.7817 MB / 1.718 GB, free: 99.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/3.693, allocations: 43.61 kB / 1.719 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.036e-06/3.693, allocations: 3.75 kB / 1.719 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.002618/3.695, allocations: 0.9109 MB / 1.719 GB, free: 99.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/3.695, allocations: 62.75 kB / 1.719 GB, free: 99.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/3.696, allocations: 301.7 kB / 1.72 GB, free: 99.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/3.696, allocations: 25.7 kB / 1.72 GB, free: 99.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/3.696, allocations: 314.3 kB / 1.72 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/3.696, allocations: 210.5 kB / 1.72 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/3.696, allocations: 0 / 1.72 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/3.696, allocations: 364.2 kB / 1.721 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/3.696, allocations: 198.6 kB / 1.721 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/3.697, allocations: 197.8 kB / 1.721 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/3.698, allocations: 276.4 kB / 1.721 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/3.698, allocations: 2.656 kB / 1.721 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002386/3.7, allocations: 0.9478 MB / 1.722 GB, free: 98.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/3.7, allocations: 8.312 kB / 1.722 GB, free: 98.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/3.7, allocations: 2.719 kB / 1.722 GB, free: 98.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/3.701, allocations: 145.3 kB / 1.722 GB, free: 98.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/3.701, allocations: 149.9 kB / 1.723 GB, free: 98.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/3.705, allocations: 4.349 MB / 1.727 GB, free: 94.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/3.705, allocations: 71.8 kB / 1.727 GB, free: 94.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/3.705, allocations: 39.27 kB / 1.727 GB, free: 94.9 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 () * 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.0001436/3.705, allocations: 120.8 kB / 1.727 GB, free: 94.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/3.706, allocations: 60.3 kB / 1.727 GB, free: 94.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/3.709, allocations: 1.175 MB / 1.728 GB, free: 94.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/3.709, allocations: 5.312 kB / 1.728 GB, free: 94.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/3.709, allocations: 3.469 kB / 1.728 GB, free: 94.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/3.709, allocations: 7.609 kB / 1.728 GB, free: 94.65 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/3.713, allocations: 1.842 MB / 1.73 GB, free: 94.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.713, allocations: 5.75 kB / 1.73 GB, free: 94.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/3.713, allocations: 144.8 kB / 1.73 GB, free: 94.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/3.714, allocations: 161.1 kB / 1.73 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/3.714, allocations: 22.2 kB / 1.73 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/3.717, allocations: 4.36 MB / 1.735 GB, free: 90.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/3.717, allocations: 11.34 kB / 1.735 GB, free: 90.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/3.721, allocations: 1.38 MB / 1.736 GB, free: 90.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/3.721, allocations: 131.9 kB / 1.736 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/3.721, allocations: 8.5 kB / 1.736 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/3.721, allocations: 47.22 kB / 1.736 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/3.722, allocations: 54.22 kB / 1.736 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/3.722, allocations: 47.53 kB / 1.736 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002708/3.722, allocations: 236.5 kB / 1.736 GB, free: 90.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/3.722, allocations: 5.688 kB / 1.736 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002571/3.724, allocations: 0.6846 MB / 1.737 GB, free: 90.03 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 () * 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.003054/3.728, allocations: 1.796 MB / 1.739 GB, free: 89.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001845/3.729, allocations: 1.059 MB / 1.74 GB, free: 89.26 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/3.729, allocations: 0 / 1.74 GB, free: 89.26 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/3.731, allocations: 0.8444 MB / 1.741 GB, free: 88.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/3.732, allocations: 124.1 kB / 1.741 GB, free: 88.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/3.734, allocations: 1.11 MB / 1.742 GB, free: 88.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/3.734, allocations: 0.937 MB / 1.743 GB, free: 87.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008334/3.735, allocations: 193.6 kB / 1.743 GB, free: 87.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/3.735, allocations: 86.5 kB / 1.743 GB, free: 87.81 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/3.735, allocations: 0 / 1.743 GB, free: 87.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.02961/3.765, allocations: 20.9 MB / 1.764 GB, free: 86.28 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches