Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 171.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.805/1.805, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008132/0.0008134, allocations: 89.05 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.89/0.89, allocations: 89.58 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004274, allocations: 12.22 kB / 485.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4283, allocations: 66.01 MB / 0.5382 GB, free: 34.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.678, allocations: 430.6 MB / 0.9587 GB, free: 196.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.678, allocations: 83.94 kB / 0.9588 GB, free: 196.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1038/1.782, allocations: 55.73 MB / 1.013 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.785e-06/1.782, allocations: 0 / 1.013 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.584e-05/1.782, allocations: 11.94 kB / 1.013 GB, free: 140.4 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008384/1.783, allocations: 490.8 kB / 1.014 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.783, allocations: 12.03 kB / 1.014 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/1.783, allocations: 16.75 kB / 1.014 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/1.783, allocations: 236.4 kB / 1.014 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.783, allocations: 9.125 kB / 1.014 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/1.783, allocations: 16 kB / 1.014 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/1.784, allocations: 143.9 kB / 1.014 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.784, allocations: 0 / 1.014 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.784, allocations: 8 kB / 1.014 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.784, allocations: 4 kB / 1.014 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/1.784, allocations: 67.97 kB / 1.014 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/1.785, allocations: 0.7791 MB / 1.015 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/1.785, allocations: 117.2 kB / 1.015 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/1.785, allocations: 57.77 kB / 1.015 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/1.785, allocations: 15.86 kB / 1.015 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.785, allocations: 38.56 kB / 1.015 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/1.785, allocations: 0 / 1.015 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0007352/1.786, allocations: 365.6 kB / 1.016 GB, free: 137.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.786, allocations: 85.11 kB / 1.016 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/1.786, allocations: 195.8 kB / 1.016 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.786, allocations: 25.7 kB / 1.016 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/1.786, allocations: 124 kB / 1.016 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/1.786, allocations: 39.44 kB / 1.016 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/1.786, allocations: 3.938 kB / 1.016 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/1.786, allocations: 334.8 kB / 1.016 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/1.786, allocations: 31.98 kB / 1.016 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/1.786, allocations: 63.48 kB / 1.016 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/1.786, allocations: 111.4 kB / 1.017 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.786, allocations: 0 / 1.017 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002737/1.787, allocations: 175.2 kB / 1.017 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.787, allocations: 7.938 kB / 1.017 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.787, allocations: 4 kB / 1.017 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/1.787, allocations: 41.62 kB / 1.017 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/1.787, allocations: 12 kB / 1.017 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.789, allocations: 2.56 MB / 1.019 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/1.789, allocations: 11.94 kB / 1.019 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/1.789, allocations: 7.984 kB / 1.019 GB, free: 133.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 6 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.789, allocations: 145.6 kB / 1.019 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/1.789, allocations: 15.81 kB / 1.019 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/1.789, allocations: 168.6 kB / 1.02 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.789, allocations: 7.938 kB / 1.02 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.789, allocations: 3.984 kB / 1.02 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.789, allocations: 3.938 kB / 1.02 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/1.79, allocations: 237.6 kB / 1.02 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.79, allocations: 0 / 1.02 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/1.79, allocations: 7.984 kB / 1.02 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/1.79, allocations: 45.69 kB / 1.02 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.79, allocations: 3.938 kB / 1.02 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.791, allocations: 2.572 MB / 1.022 GB, free: 130 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.791, allocations: 3.938 kB / 1.022 GB, free: 130 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/1.791, allocations: 392.3 kB / 1.023 GB, free: 129.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/1.791, allocations: 96.88 kB / 1.023 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.791, allocations: 0 / 1.023 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.792, allocations: 11.94 kB / 1.023 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/1.792, allocations: 7.984 kB / 1.023 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/1.792, allocations: 4 kB / 1.023 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.941e-05/1.792, allocations: 141.5 kB / 1.023 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/1.792, allocations: 4.062 kB / 1.023 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004082/1.792, allocations: 59.98 kB / 1.023 GB, free: 129.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (source.outlet.m_flow,source1.outlet.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 (8): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003402/1.792, allocations: 216 kB / 1.023 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005543/1.793, allocations: 392.8 kB / 1.024 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.793, allocations: 3.938 kB / 1.024 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.793, allocations: 340.7 kB / 1.024 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/1.794, allocations: 36.03 kB / 1.024 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/1.795, allocations: 0.5394 MB / 1.025 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/1.795, allocations: 0.7359 MB / 1.025 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.94e-05/1.795, allocations: 13.42 kB / 1.025 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/1.795, allocations: 15.44 kB / 1.025 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/1.795, allocations: 4 kB / 1.025 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.009496/1.805, allocations: 4.158 MB / 1.029 GB, free: 122.7 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches