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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0009953/0.0009952, allocations: 176.8 kB / 16.12 MB, free: 5.691 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.26/1.26, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007258/0.0007261, allocations: 87.92 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6383/0.6383, allocations: 89.61 MB / 408.5 MB, free: 4.457 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 15.94 kB / 485.2 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 66 MB / 0.5383 GB, free: 34.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.661, allocations: 0.7558 GB / 1.294 GB, free: 79.66 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.661, allocations: 94.56 kB / 1.294 GB, free: 79.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.32/2.981, allocations: 422.5 MB / 1.707 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.973e-06/2.981, allocations: 0 / 1.707 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.723e-05/2.982, allocations: 20.27 kB / 1.707 GB, free: 104.1 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.006184/2.988, allocations: 2.264 MB / 1.709 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/2.988, allocations: 11.88 kB / 1.709 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/2.989, allocations: 197.5 kB / 1.709 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/2.99, allocations: 0.5043 MB / 1.71 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/2.99, allocations: 186.5 kB / 1.71 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/2.991, allocations: 70.81 kB / 1.71 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/2.992, allocations: 0.7293 MB / 1.711 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/2.992, allocations: 7.312 kB / 1.711 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/2.992, allocations: 24.62 kB / 1.711 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/2.992, allocations: 16.31 kB / 1.711 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/2.994, allocations: 0.6456 MB / 1.711 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/2.997, allocations: 2.785 MB / 1.714 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/2.998, allocations: 0.6635 MB / 1.715 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/2.999, allocations: 393.3 kB / 1.715 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/3, allocations: 1.444 MB / 1.716 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/3, allocations: 38.84 kB / 1.716 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 2.986e-06/3, allocations: 0 / 1.716 GB, free: 99.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.004975/3.005, allocations: 1.983 MB / 1.718 GB, free: 98.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/3.005, allocations: 55.88 kB / 1.718 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/3.005, allocations: 388.8 kB / 1.719 GB, free: 98.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/3.005, allocations: 40.36 kB / 1.719 GB, free: 98.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/3.006, allocations: 309.8 kB / 1.719 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/3.006, allocations: 221.5 kB / 1.719 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/3.006, allocations: 9.875 kB / 1.719 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001301/3.006, allocations: 367.1 kB / 1.72 GB, free: 98.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/3.007, allocations: 293.2 kB / 1.72 GB, free: 98.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/3.007, allocations: 302.6 kB / 1.72 GB, free: 98.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/3.009, allocations: 0.6116 MB / 1.721 GB, free: 98.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/3.009, allocations: 0 / 1.721 GB, free: 98.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002608/3.011, allocations: 1.145 MB / 1.722 GB, free: 97.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/3.011, allocations: 3.812 kB / 1.722 GB, free: 97.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.011, allocations: 0 / 1.722 GB, free: 97.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/3.012, allocations: 258.4 kB / 1.722 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/3.013, allocations: 143.9 kB / 1.722 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/3.017, allocations: 4.896 MB / 1.727 GB, free: 94.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/3.017, allocations: 83.84 kB / 1.727 GB, free: 94.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/3.017, allocations: 43.97 kB / 1.727 GB, free: 94.16 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.0003201/3.018, allocations: 183.5 kB / 1.727 GB, free: 94.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/3.018, allocations: 62.78 kB / 1.728 GB, free: 94.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/3.021, allocations: 1.385 MB / 1.729 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/3.021, allocations: 10.81 kB / 1.729 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/3.021, allocations: 0 / 1.729 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/3.021, allocations: 3.188 kB / 1.729 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/3.025, allocations: 2.135 MB / 1.731 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/3.025, allocations: 5.188 kB / 1.731 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/3.025, allocations: 148.3 kB / 1.731 GB, free: 93.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006017/3.026, allocations: 262.8 kB / 1.731 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/3.026, allocations: 32.92 kB / 1.731 GB, free: 92.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/3.03, allocations: 4.903 MB / 1.736 GB, free: 88.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/3.03, allocations: 0 / 1.736 GB, free: 88.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/3.033, allocations: 1.611 MB / 1.738 GB, free: 88.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/3.033, allocations: 135.2 kB / 1.738 GB, free: 88.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/3.033, allocations: 18.39 kB / 1.738 GB, free: 88.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/3.034, allocations: 56.92 kB / 1.738 GB, free: 88.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/3.034, allocations: 68.97 kB / 1.738 GB, free: 88.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/3.034, allocations: 39.28 kB / 1.738 GB, free: 88.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002448/3.034, allocations: 267.4 kB / 1.738 GB, free: 87.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/3.034, allocations: 3.75 kB / 1.738 GB, free: 87.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002367/3.037, allocations: 0.7225 MB / 1.739 GB, free: 87.7 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.003374/3.04, allocations: 1.655 MB / 1.741 GB, free: 87.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002211/3.042, allocations: 1.264 MB / 1.742 GB, free: 86.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/3.042, allocations: 0 / 1.742 GB, free: 86.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/3.044, allocations: 0.9579 MB / 1.743 GB, free: 86.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008113/3.045, allocations: 157.9 kB / 1.743 GB, free: 86.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/3.047, allocations: 1.957 MB / 1.745 GB, free: 85.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/3.048, allocations: 0.9262 MB / 1.746 GB, free: 84.37 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007852/3.048, allocations: 190 kB / 1.746 GB, free: 84.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/3.049, allocations: 81 kB / 1.746 GB, free: 84.34 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/3.049, allocations: 0 / 1.746 GB, free: 84.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.03492/3.083, allocations: 29.04 MB / 1.774 GB, free: 57.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