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.001164/0.001164, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 229.6 MB, free: 3.125 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.0008883/0.0008881, allocations: 87.97 kB / 280.5 MB, free: 1.129 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01292/0.01292, allocations: 1.56 MB / 332.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5629/0.5629, allocations: 90.06 MB / 474 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.123e-05, allocations: 4 kB / 0.5375 GB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1769, allocations: 69.37 MB / 0.6052 GB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.292, allocations: 430 MB / 1.025 GB, free: 1.469 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.292, allocations: 76.22 kB / 1.025 GB, free: 1.434 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4233/1.716, allocations: 56.91 MB / 1.081 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/1.716, allocations: 1.219 kB / 1.081 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.775e-05/1.716, allocations: 3.25 kB / 1.081 GB, free: 212.8 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.0006898/1.717, allocations: 481.8 kB / 1.081 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.717, allocations: 13.94 kB / 1.081 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/1.717, allocations: 16.34 kB / 1.081 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/1.717, allocations: 230.1 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.717, allocations: 4.219 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/1.717, allocations: 5.75 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001564/1.717, allocations: 70.98 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/1.717, allocations: 125.5 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.717, allocations: 0.5156 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/1.717, allocations: 1.438 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.717, allocations: 5.547 kB / 1.082 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/1.718, allocations: 0.7227 MB / 1.082 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/1.718, allocations: 119.5 kB / 1.083 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/1.718, allocations: 48.75 kB / 1.083 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/1.718, allocations: 8.422 kB / 1.083 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.719, allocations: 31.84 kB / 1.083 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/1.719, allocations: 0.875 kB / 1.083 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004197/1.719, allocations: 150.6 kB / 1.083 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/1.719, allocations: 82.77 kB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.719, allocations: 140.6 kB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.719, allocations: 26.92 kB / 1.083 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1.719, allocations: 125.2 kB / 1.083 GB, free: 211 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.719, allocations: 43.5 kB / 1.083 GB, free: 211 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/1.719, allocations: 6.938 kB / 1.083 GB, free: 211 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/1.719, allocations: 328.5 kB / 1.083 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/1.719, allocations: 29.59 kB / 1.084 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/1.719, allocations: 66.06 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/1.72, allocations: 34.56 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.72, allocations: 1.219 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/1.72, allocations: 168.2 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.72, allocations: 8.688 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.72, allocations: 1.375 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/1.72, allocations: 37.78 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/1.72, allocations: 12 kB / 1.084 GB, free: 210.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/1.721, allocations: 2.46 MB / 1.086 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/1.722, allocations: 5.281 kB / 1.086 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.722, allocations: 4.125 kB / 1.086 GB, free: 208.2 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 () * 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 6.409e-05/1.722, allocations: 103 kB / 1.086 GB, free: 208.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.722, allocations: 21.61 kB / 1.086 GB, free: 208.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/1.722, allocations: 164.4 kB / 1.087 GB, free: 208 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.722, allocations: 1.375 kB / 1.087 GB, free: 208 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.722, allocations: 1.375 kB / 1.087 GB, free: 208 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.722, allocations: 8.125 kB / 1.087 GB, free: 208 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/1.722, allocations: 215 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.722, allocations: 1.375 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/1.722, allocations: 5.5 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/1.722, allocations: 45.47 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.722, allocations: 7.719 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.724, allocations: 2.456 MB / 1.089 GB, free: 205.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.724, allocations: 1.438 kB / 1.089 GB, free: 205.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/1.724, allocations: 380.9 kB / 1.09 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.724, allocations: 95.58 kB / 1.09 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.724, allocations: 2.25 kB / 1.09 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/1.724, allocations: 1.219 kB / 1.09 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/1.724, allocations: 15 kB / 1.09 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.724, allocations: 7.531 kB / 1.09 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.665e-05/1.724, allocations: 126.4 kB / 1.09 GB, free: 205 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.724, allocations: 0 / 1.09 GB, free: 205 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003993/1.725, allocations: 54.06 kB / 1.09 GB, free: 205 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 () * 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.0004137/1.725, allocations: 238.2 kB / 1.09 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005123/1.726, allocations: 359.2 kB / 1.09 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.726, allocations: 1.375 kB / 1.09 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/1.726, allocations: 318.6 kB / 1.091 GB, free: 204.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/1.726, allocations: 37.72 kB / 1.091 GB, free: 204.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/1.727, allocations: 352.6 kB / 1.091 GB, free: 204.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/1.727, allocations: 0.7332 MB / 1.092 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.113e-05/1.727, allocations: 11.66 kB / 1.092 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/1.727, allocations: 18.58 kB / 1.092 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/1.727, allocations: 0 / 1.092 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.006612/1.734, allocations: 3.164 MB / 1.095 GB, free: 203.1 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