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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.001294/0.001294, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.604/1.604, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008853/0.0008853, allocations: 74.67 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7947/0.7947, allocations: 90.35 MB / 405 MB, free: 8.621 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.148e-05, allocations: 4 kB / 479.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.377, allocations: 66.25 MB / 0.5326 GB, free: 28.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.479, allocations: 430.6 MB / 0.9531 GB, free: 213.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.479, allocations: 79.89 kB / 0.9532 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1059/1.585, allocations: 56.03 MB / 1.008 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.994e-06/1.585, allocations: 0 / 1.008 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.781e-05/1.585, allocations: 8 kB / 1.008 GB, free: 157.1 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.000788/1.586, allocations: 474.1 kB / 1.008 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.586, allocations: 8.031 kB / 1.008 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/1.586, allocations: 27.66 kB / 1.008 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/1.587, allocations: 226.8 kB / 1.009 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.587, allocations: 8 kB / 1.009 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/1.587, allocations: 19.91 kB / 1.009 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/1.587, allocations: 144.3 kB / 1.009 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.587, allocations: 0 / 1.009 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.587, allocations: 4 kB / 1.009 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.587, allocations: 11.92 kB / 1.009 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.587, allocations: 74.61 kB / 1.009 GB, free: 156 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/1.588, allocations: 0.7713 MB / 1.01 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/1.588, allocations: 117.3 kB / 1.01 GB, free: 155 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/1.588, allocations: 61.77 kB / 1.01 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/1.588, allocations: 8 kB / 1.01 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/1.588, allocations: 30.56 kB / 1.01 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/1.588, allocations: 0 / 1.01 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003872/1.589, allocations: 167 kB / 1.01 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/1.589, allocations: 81.11 kB / 1.01 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.589, allocations: 171.1 kB / 1.01 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.589, allocations: 25.7 kB / 1.01 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/1.589, allocations: 120 kB / 1.01 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/1.589, allocations: 39.39 kB / 1.01 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/1.589, allocations: 4 kB / 1.01 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/1.589, allocations: 330.8 kB / 1.011 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/1.589, allocations: 40 kB / 1.011 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/1.589, allocations: 63.36 kB / 1.011 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/1.589, allocations: 35.98 kB / 1.011 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.589, allocations: 0 / 1.011 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002677/1.59, allocations: 183.1 kB / 1.011 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.59, allocations: 4 kB / 1.011 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.59, allocations: 256 / 1.011 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/1.59, allocations: 41.7 kB / 1.011 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/1.59, allocations: 19.92 kB / 1.011 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.591, allocations: 2.568 MB / 1.014 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/1.591, allocations: 15.84 kB / 1.014 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.591, allocations: 4 kB / 1.014 GB, free: 150.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 () * 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.234e-05/1.591, allocations: 112.9 kB / 1.014 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/1.591, allocations: 15.81 kB / 1.014 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/1.592, allocations: 176.6 kB / 1.014 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.592, allocations: 0 / 1.014 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.592, allocations: 4 kB / 1.014 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.592, allocations: 3.984 kB / 1.014 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/1.592, allocations: 237.6 kB / 1.014 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.592, allocations: 4 kB / 1.014 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/1.592, allocations: 12.05 kB / 1.014 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/1.592, allocations: 41.7 kB / 1.014 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/1.592, allocations: 11.94 kB / 1.014 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/1.593, allocations: 2.568 MB / 1.017 GB, free: 147.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.593, allocations: 0 / 1.017 GB, free: 147.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/1.594, allocations: 386 kB / 1.017 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/1.594, allocations: 88.95 kB / 1.017 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.594, allocations: 4 kB / 1.017 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.594, allocations: 4 kB / 1.017 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/1.594, allocations: 11.97 kB / 1.017 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.594, allocations: 4 kB / 1.017 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.224e-05/1.594, allocations: 145.4 kB / 1.017 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.594, allocations: 0 / 1.017 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003854/1.595, allocations: 71.84 kB / 1.017 GB, free: 146.4 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 () * 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.0003262/1.595, allocations: 230.6 kB / 1.018 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004441/1.595, allocations: 376.6 kB / 1.018 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.595, allocations: 4.125 kB / 1.018 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/1.596, allocations: 328.7 kB / 1.018 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/1.596, allocations: 40.08 kB / 1.018 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/1.597, allocations: 346 kB / 1.019 GB, free: 145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/1.597, allocations: 0.7438 MB / 1.019 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.338e-05/1.597, allocations: 17.19 kB / 1.019 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/1.597, allocations: 15.44 kB / 1.019 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/1.597, allocations: 0 / 1.019 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.007588/1.604, allocations: 4.367 MB / 1.024 GB, free: 139.8 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