Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008664/0.008664, allocations: 166.7 kB / 15.13 MB, free: 6.023 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.382/1.382, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.000701/0.000701, allocations: 90.25 kB / 269.6 MB, free: 13.34 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.6756/0.6756, allocations: 90.6 MB / 408.5 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.0003348/0.0003349, allocations: 8 kB / 485.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3713, allocations: 66.28 MB / 0.5386 GB, free: 45.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5709/0.9422, allocations: 226.9 MB / 0.7602 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.9653, allocations: 22.35 MB / 0.7821 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.967, allocations: 28.31 kB / 0.7821 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.9685, allocations: 0.5776 MB / 0.7826 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.9733, allocations: 1.639 MB / 0.7842 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008587/0.9819, allocations: 2.856 MB / 0.787 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.9852, allocations: 1.903 MB / 0.7889 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.9859, allocations: 291.3 kB / 0.7892 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.9889, allocations: 1.083 MB / 0.7902 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000933/0.9898, allocations: 0.6425 MB / 0.7909 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.99, allocations: 58 kB / 0.7909 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/1.004, allocations: 6.123 MB / 0.7969 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005426/1.005, allocations: 220.4 kB / 0.7971 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/1.006, allocations: 260.8 kB / 0.7974 GB, free: 22.53 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005369/1.012, allocations: 2.488 MB / 0.7998 GB, free: 22.32 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.012, allocations: 0 / 0.7998 GB, free: 22.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.455e-06/1.012, allocations: 0 / 0.7998 GB, free: 22.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.108e-05/1.012, allocations: 3.844 kB / 0.7998 GB, free: 22.32 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.004422/1.016, allocations: 2.002 MB / 0.8017 GB, free: 21.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.016, allocations: 12.02 kB / 0.8018 GB, free: 21.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/1.019, allocations: 342.2 kB / 0.8021 GB, free: 21.22 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/1.02, allocations: 0.6867 MB / 0.8027 GB, free: 20.92 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/1.02, allocations: 356.9 kB / 0.8031 GB, free: 20.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/1.02, allocations: 122.1 kB / 0.8032 GB, free: 20.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/1.023, allocations: 1.397 MB / 0.8046 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.023, allocations: 0.6875 kB / 0.8046 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.023, allocations: 42.5 kB / 0.8046 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/1.023, allocations: 36.11 kB / 0.8046 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.026, allocations: 1.167 MB / 0.8058 GB, free: 20.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/1.032, allocations: 4.908 MB / 0.8106 GB, free: 17.99 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/1.034, allocations: 1.378 MB / 0.8119 GB, free: 17.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.036, allocations: 0.6754 MB / 0.8126 GB, free: 17.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003286/1.039, allocations: 4.144 MB / 0.8166 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.039, allocations: 54.33 kB / 0.8167 GB, free: 13.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=112): time 3.446e-06/1.039, allocations: 0 / 0.8167 GB, free: 13.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=112): time 0.008731/1.048, allocations: 3.482 MB / 0.8201 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.048, allocations: 64.69 kB / 0.8201 GB, free: 12.45 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/1.049, allocations: 0.5628 MB / 0.8207 GB, free: 12.23 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.049, allocations: 44.58 kB / 0.8207 GB, free: 12.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/1.049, allocations: 473.2 kB / 0.8212 GB, free: 11.95 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/1.049, allocations: 384.6 kB / 0.8216 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/1.049, allocations: 20.81 kB / 0.8216 GB, free: 11.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.05, allocations: 350.8 kB / 0.8219 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.051, allocations: 0.5321 MB / 0.8224 GB, free: 11.25 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/1.052, allocations: 0.6247 MB / 0.823 GB, free: 11.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/1.053, allocations: 0.5458 MB / 0.8236 GB, free: 11.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.053, allocations: 4 kB / 0.8236 GB, free: 11.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005499/1.059, allocations: 2.105 MB / 0.8256 GB, free: 10.51 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.059, allocations: 8.562 kB / 0.8256 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.059, allocations: 6.312 kB / 0.8256 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.06, allocations: 476.5 kB / 0.8261 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.062, allocations: 293.6 kB / 0.8264 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009669/1.071, allocations: 7.218 MB / 0.8334 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.073, allocations: 152.1 kB / 0.8336 GB, free: 4.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/1.073, allocations: 81.77 kB / 0.8337 GB, free: 4.613 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000865/1.074, allocations: 242.4 kB / 0.8339 GB, free: 4.492 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.074, allocations: 95.31 kB / 0.834 GB, free: 4.441 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006965/1.081, allocations: 2.485 MB / 0.8364 GB, free: 3.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.081, allocations: 9.469 kB / 0.8364 GB, free: 3.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.081, allocations: 3.594 kB / 0.8364 GB, free: 3.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.081, allocations: 3.984 kB / 0.8364 GB, free: 3.746 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/1.09, allocations: 3.657 MB / 0.84 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.09, allocations: 10.83 kB / 0.84 GB, free: 2.539 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.091, allocations: 297 kB / 0.8403 GB, free: 2.488 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/1.093, allocations: 482.6 kB / 0.8407 GB, free: 2.328 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.093, allocations: 50.56 kB / 0.8408 GB, free: 2.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009423/1.102, allocations: 7.225 MB / 0.8478 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.102, allocations: 6.703 kB / 0.8479 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/1.11, allocations: 2.855 MB / 0.8506 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/1.11, allocations: 177.7 kB / 0.8508 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/1.11, allocations: 27.19 kB / 0.8508 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.111, allocations: 110.8 kB / 0.8509 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.112, allocations: 101.7 kB / 0.851 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/1.112, allocations: 76.22 kB / 0.8511 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005399/1.112, allocations: 394.7 kB / 0.8515 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/1.112, allocations: 2.906 kB / 0.8515 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002953/1.115, allocations: 0.8806 MB / 0.8524 GB, free: 7.816 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003561/1.119, allocations: 1.267 MB / 0.8536 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004804/1.124, allocations: 2.127 MB / 0.8557 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.124, allocations: 0 / 0.8557 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/1.127, allocations: 1.579 MB / 0.8572 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.128, allocations: 242.2 kB / 0.8574 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/1.134, allocations: 3.242 MB / 0.8606 GB, free: 328 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/1.135, allocations: 1.089 MB / 0.8617 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001706/1.136, allocations: 311.9 kB / 0.862 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/1.137, allocations: 142.9 kB / 0.8621 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/1.137, allocations: 0 / 0.8621 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.04844/1.185, allocations: 28.29 MB / 0.8897 GB, free: 2.828 MB / 0.6198 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches