Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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-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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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.000974/0.0009741, allocations: 177.6 kB / 16.12 MB, free: 5.57 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.416/1.416, allocations: 205.4 MB / 222.3 MB, free: 13.74 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.0009435/0.0009433, allocations: 94.22 kB / 270.6 MB, free: 13.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7491/0.7491, allocations: 89.62 MB / 408.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004308, allocations: 15.98 kB / 485.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 66 MB / 0.5383 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.946/1.083, allocations: 430.6 MB / 0.9588 GB, free: 1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.083, allocations: 81.23 kB / 0.9589 GB, free: 0.957 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.377/1.46, allocations: 55.71 MB / 1.013 GB, free: 201.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/1.46, allocations: 4 kB / 1.013 GB, free: 201.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.46, allocations: 4.953 kB / 1.013 GB, free: 201.9 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.0007027/1.461, allocations: 0.4916 MB / 1.014 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.461, allocations: 9.062 kB / 1.014 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/1.461, allocations: 22.38 kB / 1.014 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/1.461, allocations: 234 kB / 1.014 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.461, allocations: 6.688 kB / 1.014 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/1.461, allocations: 11.5 kB / 1.014 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/1.462, allocations: 151.2 kB / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.462, allocations: 3.938 kB / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.462, allocations: 1.625 kB / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.462, allocations: 6.062 kB / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/1.462, allocations: 72.22 kB / 1.014 GB, free: 201 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/1.462, allocations: 0.7753 MB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/1.463, allocations: 124.8 kB / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/1.463, allocations: 50.91 kB / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/1.463, allocations: 12.89 kB / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/1.463, allocations: 35.84 kB / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/1.463, allocations: 0 / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0006478/1.463, allocations: 375.6 kB / 1.016 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/1.464, allocations: 82.7 kB / 1.016 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.464, allocations: 189.1 kB / 1.016 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/1.464, allocations: 31.17 kB / 1.016 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/1.464, allocations: 122.5 kB / 1.016 GB, free: 199.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/1.464, allocations: 39.3 kB / 1.016 GB, free: 199.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/1.464, allocations: 1.719 kB / 1.016 GB, free: 199.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/1.464, allocations: 332.2 kB / 1.016 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/1.464, allocations: 37.12 kB / 1.016 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/1.464, allocations: 65.72 kB / 1.016 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/1.464, allocations: 105.2 kB / 1.017 GB, free: 199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.464, allocations: 0 / 1.017 GB, free: 199 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002694/1.464, allocations: 178 kB / 1.017 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.464, allocations: 5.281 kB / 1.017 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.464, allocations: 1.062 kB / 1.017 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/1.465, allocations: 43.22 kB / 1.017 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/1.465, allocations: 13.03 kB / 1.017 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/1.466, allocations: 2.564 MB / 1.019 GB, free: 196.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/1.466, allocations: 10.91 kB / 1.019 GB, free: 196.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.466, allocations: 7.359 kB / 1.019 GB, free: 196.2 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 8.665e-05/1.466, allocations: 137 kB / 1.019 GB, free: 196.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.466, allocations: 20 kB / 1.019 GB, free: 196.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/1.467, allocations: 170.9 kB / 1.02 GB, free: 196 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.467, allocations: 5.906 kB / 1.02 GB, free: 196 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.467, allocations: 1.031 kB / 1.02 GB, free: 196 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.467, allocations: 1.094 kB / 1.02 GB, free: 196 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/1.467, allocations: 246.7 kB / 1.02 GB, free: 195.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.467, allocations: 0 / 1.02 GB, free: 195.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/1.467, allocations: 10 kB / 1.02 GB, free: 195.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/1.467, allocations: 39.88 kB / 1.02 GB, free: 195.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.467, allocations: 6.125 kB / 1.02 GB, free: 195.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/1.468, allocations: 2.559 MB / 1.022 GB, free: 193.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.468, allocations: 9 kB / 1.022 GB, free: 193.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/1.468, allocations: 389.5 kB / 1.023 GB, free: 192.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/1.469, allocations: 97.16 kB / 1.023 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.469, allocations: 2.156 kB / 1.023 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.469, allocations: 8.812 kB / 1.023 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/1.469, allocations: 12.58 kB / 1.023 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.469, allocations: 3.312 kB / 1.023 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.229e-05/1.469, allocations: 143.2 kB / 1.023 GB, free: 192.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.469, allocations: 64 / 1.023 GB, free: 192.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003675/1.469, allocations: 59.69 kB / 1.023 GB, free: 192.5 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.0002855/1.469, allocations: 217.4 kB / 1.023 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000451/1.47, allocations: 381.9 kB / 1.024 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.47, allocations: 8.062 kB / 1.024 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/1.47, allocations: 335.7 kB / 1.024 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/1.471, allocations: 48.64 kB / 1.024 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/1.471, allocations: 0.5519 MB / 1.025 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/1.472, allocations: 0.7372 MB / 1.025 GB, free: 190.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.082e-05/1.472, allocations: 12.45 kB / 1.025 GB, free: 190.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/1.472, allocations: 15.06 kB / 1.025 GB, free: 190.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.472, allocations: 1.312 kB / 1.025 GB, free: 190.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.007553/1.479, allocations: 4.153 MB / 1.029 GB, free: 189.3 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches