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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 4.0.0+maint.om/package.mo): time 0.008012/0.008012, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 104.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01247/0.01247, allocations: 1.554 MB / 342.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9036/0.9036, allocations: 90.31 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006234/0.0006234, allocations: 23.98 kB / 0.5526 GB, free: 30.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 69.35 MB / 0.6203 GB, free: 5.648 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.645, allocations: 430.8 MB / 1.041 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.646, allocations: 84.22 kB / 1.041 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1108/1.756, allocations: 57.42 MB / 1.097 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/1.757, allocations: 0 / 1.097 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.757, allocations: 4 kB / 1.097 GB, free: 62.55 MB / 0.6042 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.0008006/1.757, allocations: 0.4906 MB / 1.098 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.757, allocations: 15.98 kB / 1.098 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/1.757, allocations: 19.72 kB / 1.098 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.758, allocations: 230.6 kB / 1.098 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.758, allocations: 15.94 kB / 1.098 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/1.758, allocations: 12 kB / 1.098 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/1.758, allocations: 140 kB / 1.098 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.758, allocations: 0 / 1.098 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/1.758, allocations: 11.94 kB / 1.098 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.758, allocations: 3.953 kB / 1.098 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/1.758, allocations: 83.14 kB / 1.098 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/1.759, allocations: 0.7559 MB / 1.099 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/1.759, allocations: 125.2 kB / 1.099 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/1.759, allocations: 4 kB / 1.099 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/1.759, allocations: 38.69 kB / 1.099 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.759, allocations: 0 / 1.099 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0007412/1.76, allocations: 0.5271 MB / 1.1 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.76, allocations: 77.11 kB / 1.1 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/1.76, allocations: 178.9 kB / 1.1 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.76, allocations: 29.7 kB / 1.1 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/1.76, allocations: 123.9 kB / 1.1 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/1.76, allocations: 51.36 kB / 1.1 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/1.76, allocations: 0 / 1.1 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/1.76, allocations: 326.8 kB / 1.1 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/1.76, allocations: 31.98 kB / 1.1 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/1.76, allocations: 63.48 kB / 1.1 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/1.761, allocations: 44 kB / 1.1 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.761, allocations: 0 / 1.1 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002633/1.761, allocations: 179 kB / 1.101 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.761, allocations: 4 kB / 1.101 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.761, allocations: 8.062 kB / 1.101 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/1.761, allocations: 37.7 kB / 1.101 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/1.761, allocations: 11.98 kB / 1.101 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/1.763, allocations: 2.576 MB / 1.103 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/1.763, allocations: 15.97 kB / 1.103 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/1.763, allocations: 7.984 kB / 1.103 GB, free: 55.69 MB / 0.6042 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 9.884e-05/1.763, allocations: 130.3 kB / 1.103 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/1.763, allocations: 12 kB / 1.103 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/1.763, allocations: 180.6 kB / 1.103 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.763, allocations: 0 / 1.103 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.763, allocations: 3.953 kB / 1.103 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.763, allocations: 4 kB / 1.103 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/1.763, allocations: 233.6 kB / 1.104 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.763, allocations: 0 / 1.104 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/1.763, allocations: 11.94 kB / 1.104 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.764, allocations: 49.62 kB / 1.104 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.764, allocations: 4 kB / 1.104 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/1.765, allocations: 2.587 MB / 1.106 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.765, allocations: 0 / 1.106 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/1.765, allocations: 393.8 kB / 1.107 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.765, allocations: 97.2 kB / 1.107 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/1.765, allocations: 0 / 1.107 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.765, allocations: 4 kB / 1.107 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/1.765, allocations: 11.98 kB / 1.107 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/1.765, allocations: 7.984 kB / 1.107 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.238e-05/1.766, allocations: 141.5 kB / 1.107 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.766, allocations: 0 / 1.107 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004003/1.766, allocations: 68.09 kB / 1.107 GB, free: 51.4 MB / 0.6042 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.0003308/1.766, allocations: 220.4 kB / 1.107 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004889/1.767, allocations: 380.8 kB / 1.108 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.767, allocations: 0 / 1.108 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/1.767, allocations: 344.8 kB / 1.108 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/1.768, allocations: 35.92 kB / 1.108 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/1.768, allocations: 0.5536 MB / 1.108 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/1.768, allocations: 0.7437 MB / 1.109 GB, free: 49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.203e-05/1.769, allocations: 17.41 kB / 1.109 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/1.769, allocations: 15.44 kB / 1.109 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of SimCode: time 4.6e-07/1.769, allocations: 0 / 1.109 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.007523/1.776, allocations: 4.115 MB / 1.113 GB, free: 44.87 MB / 0.6042 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