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.001767/0.001767, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.595/1.595, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.001023/0.001023, allocations: 95.08 kB / 266.6 MB, free: 9.281 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.7906/0.7906, allocations: 90.35 MB / 405 MB, free: 8.641 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3623, allocations: 66.26 MB / 0.5326 GB, free: 28.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.999, allocations: 0.7558 GB / 1.288 GB, free: 96.76 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.999, allocations: 79.95 kB / 1.288 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/3.58, allocations: 443 MB / 1.721 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/3.58, allocations: 3.594 kB / 1.721 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.97e-05/3.58, allocations: 24.56 kB / 1.721 GB, free: 103.2 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.005953/3.586, allocations: 2.187 MB / 1.723 GB, free: 102 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/3.586, allocations: 10.44 kB / 1.723 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/3.587, allocations: 190.2 kB / 1.723 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/3.588, allocations: 490.8 kB / 1.724 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/3.588, allocations: 189.4 kB / 1.724 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/3.588, allocations: 73.77 kB / 1.724 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/3.59, allocations: 0.6275 MB / 1.725 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/3.59, allocations: 3.125 kB / 1.725 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/3.59, allocations: 26.69 kB / 1.725 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/3.59, allocations: 15.16 kB / 1.725 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/3.591, allocations: 0.5375 MB / 1.725 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/3.594, allocations: 2.78 MB / 1.728 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/3.595, allocations: 0.5602 MB / 1.729 GB, free: 100 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/3.595, allocations: 301.8 kB / 1.729 GB, free: 100 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/3.595, allocations: 0.7938 MB / 1.73 GB, free: 99.17 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/3.595, allocations: 38.19 kB / 1.73 GB, free: 99.13 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.797e-06/3.595, allocations: 0 / 1.73 GB, free: 99.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.00234/3.598, allocations: 0.9122 MB / 1.731 GB, free: 99.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/3.598, allocations: 62.44 kB / 1.731 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/3.598, allocations: 331 kB / 1.731 GB, free: 98.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/3.598, allocations: 38.55 kB / 1.731 GB, free: 98.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/3.598, allocations: 315.3 kB / 1.731 GB, free: 98.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/3.599, allocations: 215 kB / 1.732 GB, free: 98.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/3.599, allocations: 14.84 kB / 1.732 GB, free: 98.51 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001193/3.599, allocations: 367.6 kB / 1.732 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/3.599, allocations: 210 kB / 1.732 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/3.6, allocations: 208 kB / 1.732 GB, free: 98.19 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/3.6, allocations: 213.5 kB / 1.732 GB, free: 98.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/3.6, allocations: 6.312 kB / 1.732 GB, free: 98.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002192/3.602, allocations: 0.9161 MB / 1.733 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/3.602, allocations: 7.438 kB / 1.733 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/3.602, allocations: 3.812 kB / 1.733 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/3.603, allocations: 158 kB / 1.734 GB, free: 98.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/3.603, allocations: 143 kB / 1.734 GB, free: 98.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/3.607, allocations: 4.504 MB / 1.738 GB, free: 94.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/3.608, allocations: 78.59 kB / 1.738 GB, free: 94.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/3.608, allocations: 38.66 kB / 1.738 GB, free: 94.21 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.0001596/3.608, allocations: 129.4 kB / 1.738 GB, free: 94.11 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/3.608, allocations: 65.2 kB / 1.738 GB, free: 94.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/3.611, allocations: 1.16 MB / 1.74 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/3.611, allocations: 7.125 kB / 1.74 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/3.611, allocations: 7.219 kB / 1.74 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/3.611, allocations: 6.438 kB / 1.74 GB, free: 93.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/3.615, allocations: 1.907 MB / 1.741 GB, free: 93.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/3.615, allocations: 0 / 1.741 GB, free: 93.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/3.615, allocations: 155.1 kB / 1.742 GB, free: 93.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/3.616, allocations: 156 kB / 1.742 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/3.616, allocations: 29.27 kB / 1.742 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/3.619, allocations: 4.511 MB / 1.746 GB, free: 89.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/3.619, allocations: 0 / 1.746 GB, free: 89.01 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/3.622, allocations: 1.362 MB / 1.747 GB, free: 88.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/3.623, allocations: 135.6 kB / 1.748 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/3.623, allocations: 11.88 kB / 1.748 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/3.623, allocations: 67.56 kB / 1.748 GB, free: 88.25 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/3.623, allocations: 66.03 kB / 1.748 GB, free: 88.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/3.623, allocations: 42.3 kB / 1.748 GB, free: 88.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000312/3.624, allocations: 264.8 kB / 1.748 GB, free: 88.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/3.624, allocations: 0 / 1.748 GB, free: 88.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002966/3.627, allocations: 0.7191 MB / 1.749 GB, free: 87.86 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.003401/3.63, allocations: 1.657 MB / 1.75 GB, free: 87.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002161/3.632, allocations: 1.101 MB / 1.751 GB, free: 86.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/3.632, allocations: 0 / 1.751 GB, free: 86.79 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/3.634, allocations: 0.8836 MB / 1.752 GB, free: 86.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/3.635, allocations: 145.4 kB / 1.752 GB, free: 86.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/3.637, allocations: 1.141 MB / 1.754 GB, free: 85.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/3.637, allocations: 0.945 MB / 1.754 GB, free: 85.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008186/3.638, allocations: 198 kB / 1.755 GB, free: 85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/3.638, allocations: 87.23 kB / 1.755 GB, free: 84.99 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/3.638, allocations: 0 / 1.755 GB, free: 84.99 MB / 0.5886 GB Notification: Performance of Templates: time 0.03863/3.677, allocations: 31.74 MB / 1.786 GB, free: 57.63 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