Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01392/0.01392, allocations: 172 kB / 15.11 MB, free: 5.98 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.645/1.645, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009671/0.0009672, allocations: 106.3 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.01494/0.01494, allocations: 1.552 MB / 342.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8449/0.8449, allocations: 90.32 MB / 484.7 MB, free: 21.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.000574, allocations: 19.72 kB / 0.5526 GB, free: 30.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.194, allocations: 69.35 MB / 0.6203 GB, free: 5.656 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/1.595, allocations: 431.9 MB / 1.042 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/1.595, allocations: 90.52 kB / 1.042 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1091/1.704, allocations: 48.41 MB / 1.089 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.977e-06/1.705, allocations: 0 / 1.089 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.039e-05/1.705, allocations: 8 kB / 1.089 GB, free: 70.64 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001277/1.706, allocations: 0.5244 MB / 1.09 GB, free: 70.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/1.706, allocations: 11.98 kB / 1.09 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/1.706, allocations: 19.72 kB / 1.09 GB, free: 70.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/1.706, allocations: 227.2 kB / 1.09 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/1.707, allocations: 8.234 kB / 1.09 GB, free: 69.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/1.707, allocations: 12 kB / 1.09 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/1.707, allocations: 164.8 kB / 1.09 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.707, allocations: 0 / 1.09 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/1.707, allocations: 4 kB / 1.09 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.707, allocations: 11.95 kB / 1.09 GB, free: 69.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/1.707, allocations: 107.9 kB / 1.09 GB, free: 69.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/1.709, allocations: 0.7843 MB / 1.091 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/1.709, allocations: 114.5 kB / 1.091 GB, free: 68.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/1.709, allocations: 77.11 kB / 1.091 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/1.709, allocations: 107.3 kB / 1.092 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.146e-06/1.709, allocations: 7.938 kB / 1.092 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005912/1.71, allocations: 266.4 kB / 1.092 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.71, allocations: 55.69 kB / 1.092 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/1.71, allocations: 173.5 kB / 1.092 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.71, allocations: 29.69 kB / 1.092 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/1.71, allocations: 140.1 kB / 1.092 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/1.71, allocations: 31.55 kB / 1.092 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.71, allocations: 8 kB / 1.092 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/1.71, allocations: 326.8 kB / 1.093 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/1.711, allocations: 55.95 kB / 1.093 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.711, allocations: 93.11 kB / 1.093 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/1.711, allocations: 89.62 kB / 1.093 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.711, allocations: 0 / 1.093 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004361/1.711, allocations: 231.1 kB / 1.093 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.711, allocations: 33.7 kB / 1.093 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.711, allocations: 3.953 kB / 1.093 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.711, allocations: 4 kB / 1.093 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.712, allocations: 31.98 kB / 1.093 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.712, allocations: 7.984 kB / 1.093 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1.712, allocations: 23.91 kB / 1.093 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.712, allocations: 11.98 kB / 1.093 GB, free: 66.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/1.712, allocations: 126.8 kB / 1.093 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.712, allocations: 15.81 kB / 1.093 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/1.712, allocations: 155 kB / 1.093 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.712, allocations: 3.953 kB / 1.093 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.712, allocations: 3.938 kB / 1.093 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.712, allocations: 4 kB / 1.093 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.713, allocations: 221.5 kB / 1.094 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.713, allocations: 0 / 1.094 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.713, allocations: 19.98 kB / 1.094 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.713, allocations: 0 / 1.094 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.713, allocations: 15.92 kB / 1.094 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.713, allocations: 8 kB / 1.094 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.713, allocations: 3.953 kB / 1.094 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/1.713, allocations: 220.8 kB / 1.094 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/1.714, allocations: 92.94 kB / 1.094 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/1.714, allocations: 4 kB / 1.094 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.714, allocations: 11.98 kB / 1.094 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.714, allocations: 15.94 kB / 1.094 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.714, allocations: 4 kB / 1.094 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.558e-05/1.714, allocations: 144.3 kB / 1.094 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/1.714, allocations: 0 / 1.094 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003381/1.714, allocations: 55.83 kB / 1.094 GB, free: 65.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/1.715, allocations: 205.9 kB / 1.094 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004439/1.715, allocations: 191.3 kB / 1.095 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.715, allocations: 0 / 1.095 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.715, allocations: 60.22 kB / 1.095 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/1.716, allocations: 36.23 kB / 1.095 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/1.717, allocations: 469.8 kB / 1.095 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.717, allocations: 0.7243 MB / 1.096 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001069/1.717, allocations: 13.42 kB / 1.096 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/1.717, allocations: 11.44 kB / 1.096 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/1.717, allocations: 0 / 1.096 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.007834/1.725, allocations: 3.265 MB / 1.099 GB, free: 60.32 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches