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.00703/0.00703, allocations: 171.9 kB / 15.11 MB, free: 5.973 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.696/1.696, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001072/0.001072, allocations: 94.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8083/0.8083, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 12 kB / 485.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4752, allocations: 66.27 MB / 0.5386 GB, free: 45.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/2.257, allocations: 0.7559 GB / 1.294 GB, free: 147.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/2.258, allocations: 81.14 kB / 1.295 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.742/4, allocations: 444.3 MB / 1.728 GB, free: 88.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/4, allocations: 3.5 kB / 1.728 GB, free: 88.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001434/4, allocations: 30.14 kB / 1.728 GB, free: 88.67 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.009799/4.01, allocations: 2.266 MB / 1.731 GB, free: 87.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/4.01, allocations: 7.688 kB / 1.731 GB, free: 87.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/4.012, allocations: 208.6 kB / 1.731 GB, free: 87.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/4.013, allocations: 483 kB / 1.731 GB, free: 87.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/4.014, allocations: 188.2 kB / 1.731 GB, free: 87.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/4.014, allocations: 74.67 kB / 1.732 GB, free: 87.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/4.016, allocations: 0.7216 MB / 1.732 GB, free: 87.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/4.016, allocations: 0 / 1.732 GB, free: 87.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/4.016, allocations: 24.69 kB / 1.732 GB, free: 87.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/4.016, allocations: 21.78 kB / 1.732 GB, free: 87.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/4.018, allocations: 0.6476 MB / 1.733 GB, free: 87.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/4.022, allocations: 2.779 MB / 1.736 GB, free: 85.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/4.024, allocations: 0.6546 MB / 1.736 GB, free: 85.58 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/4.024, allocations: 0.7872 MB / 1.737 GB, free: 84.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/4.024, allocations: 42.34 kB / 1.737 GB, free: 84.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.687e-06/4.024, allocations: 3.938 kB / 1.737 GB, free: 84.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.005492/4.03, allocations: 2.134 MB / 1.739 GB, free: 84.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/4.03, allocations: 63.31 kB / 1.739 GB, free: 84.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/4.031, allocations: 337.2 kB / 1.74 GB, free: 83.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/4.031, allocations: 31.95 kB / 1.74 GB, free: 83.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/4.031, allocations: 318.5 kB / 1.74 GB, free: 83.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/4.031, allocations: 214.7 kB / 1.74 GB, free: 83.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/4.031, allocations: 10 kB / 1.74 GB, free: 83.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001385/4.031, allocations: 367.3 kB / 1.74 GB, free: 83.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/4.032, allocations: 295.6 kB / 1.741 GB, free: 83.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/4.033, allocations: 303.8 kB / 1.741 GB, free: 83.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/4.033, allocations: 299.5 kB / 1.741 GB, free: 83.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/4.033, allocations: 0 / 1.741 GB, free: 83.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00309/4.036, allocations: 1.141 MB / 1.742 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/4.036, allocations: 7.156 kB / 1.742 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/4.036, allocations: 3.703 kB / 1.742 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/4.037, allocations: 261.5 kB / 1.743 GB, free: 83.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/4.038, allocations: 142.3 kB / 1.743 GB, free: 83.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/4.044, allocations: 4.972 MB / 1.748 GB, free: 79.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/4.045, allocations: 78.23 kB / 1.748 GB, free: 79.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/4.045, allocations: 48.56 kB / 1.748 GB, free: 79.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.0005352/4.045, allocations: 184.3 kB / 1.748 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/4.046, allocations: 63.3 kB / 1.748 GB, free: 79.21 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/4.05, allocations: 1.375 MB / 1.749 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/4.05, allocations: 10.62 kB / 1.749 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/4.05, allocations: 0 / 1.749 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/4.05, allocations: 8.375 kB / 1.749 GB, free: 79.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/4.054, allocations: 2.146 MB / 1.751 GB, free: 78.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/4.054, allocations: 3.75 kB / 1.751 GB, free: 78.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/4.055, allocations: 147.1 kB / 1.752 GB, free: 78.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007174/4.056, allocations: 267 kB / 1.752 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/4.056, allocations: 21.98 kB / 1.752 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/4.061, allocations: 4.976 MB / 1.757 GB, free: 74.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/4.061, allocations: 1.969 kB / 1.757 GB, free: 74.92 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/4.065, allocations: 1.626 MB / 1.758 GB, free: 74.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/4.065, allocations: 138.7 kB / 1.758 GB, free: 74.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/4.065, allocations: 13.66 kB / 1.758 GB, free: 74.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/4.066, allocations: 55.25 kB / 1.759 GB, free: 74.53 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/4.066, allocations: 70.5 kB / 1.759 GB, free: 74.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/4.066, allocations: 46.78 kB / 1.759 GB, free: 74.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003256/4.066, allocations: 267.6 kB / 1.759 GB, free: 74.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/4.066, allocations: 0 / 1.759 GB, free: 74.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003216/4.07, allocations: 0.7113 MB / 1.76 GB, free: 74.29 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.004308/4.074, allocations: 1.665 MB / 1.761 GB, free: 73.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002604/4.077, allocations: 1.265 MB / 1.762 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/4.077, allocations: 0 / 1.762 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/4.078, allocations: 0.9562 MB / 1.763 GB, free: 73.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/4.079, allocations: 137 kB / 1.764 GB, free: 73.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/4.082, allocations: 1.946 MB / 1.765 GB, free: 72.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/4.083, allocations: 0.9401 MB / 1.766 GB, free: 71.58 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008777/4.083, allocations: 189.8 kB / 1.767 GB, free: 71.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/4.084, allocations: 79.98 kB / 1.767 GB, free: 71.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/4.084, allocations: 0 / 1.767 GB, free: 71.57 MB / 0.5886 GB Notification: Performance of Templates: time 0.04048/4.124, allocations: 28.65 MB / 1.795 GB, free: 70.13 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