Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007928/0.000793, allocations: 180.2 kB / 15.45 MB, free: 6.227 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.069/1.069, allocations: 205 MB / 221.2 MB, free: 1.859 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006593/0.0006593, allocations: 90.25 kB / 269.2 MB, free: 1.809 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.4677/0.4677, allocations: 90.53 MB / 407.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 12 kB / 484.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08808, allocations: 65.81 MB / 0.5372 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2738/0.3619, allocations: 138 MB / 0.6719 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.3654, allocations: 4.102 MB / 0.6759 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3655, allocations: 4 kB / 0.6759 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.366, allocations: 139.3 kB / 0.6761 GB, free: 10 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3663, allocations: 175 kB / 0.6762 GB, free: 9.832 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3666, allocations: 111.7 kB / 0.6763 GB, free: 9.723 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.3669, allocations: 350.3 kB / 0.6767 GB, free: 9.379 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.367, allocations: 80.83 kB / 0.6768 GB, free: 9.301 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3672, allocations: 131.5 kB / 0.6769 GB, free: 9.172 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3674, allocations: 159.4 kB / 0.677 GB, free: 9.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3675, allocations: 8 kB / 0.677 GB, free: 9.008 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.3679, allocations: 303.4 kB / 0.6773 GB, free: 8.711 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.368, allocations: 27.86 kB / 0.6774 GB, free: 8.684 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.368, allocations: 107.5 kB / 0.6775 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.3684, allocations: 318.9 kB / 0.6778 GB, free: 8.266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3684, allocations: 3.938 kB / 0.6778 GB, free: 8.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3684, allocations: 0 / 0.6778 GB, free: 8.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3684, allocations: 4 kB / 0.6778 GB, free: 8.258 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005745/0.369, allocations: 491.5 kB / 0.6782 GB, free: 7.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.369, allocations: 8.031 kB / 0.6782 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3691, allocations: 54.73 kB / 0.6783 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3691, allocations: 24.66 kB / 0.6783 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3693, allocations: 240.6 kB / 0.6786 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3694, allocations: 24.33 kB / 0.6786 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.3694, allocations: 20.47 kB / 0.6786 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3697, allocations: 202.4 kB / 0.6788 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3697, allocations: 0 / 0.6788 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3697, allocations: 7.984 kB / 0.6788 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3697, allocations: 4 kB / 0.6788 GB, free: 7.098 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.3699, allocations: 136.2 kB / 0.6789 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.3708, allocations: 1.074 MB / 0.68 GB, free: 5.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.3711, allocations: 190.5 kB / 0.6802 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3713, allocations: 80.83 kB / 0.6802 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.3714, allocations: 251.3 kB / 0.6805 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3714, allocations: 42.42 kB / 0.6805 GB, free: 5.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.3714, allocations: 0 / 0.6805 GB, free: 5.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001303/0.3727, allocations: 0.9616 MB / 0.6815 GB, free: 4.039 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3728, allocations: 55.41 kB / 0.6815 GB, free: 3.973 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3729, allocations: 175.2 kB / 0.6817 GB, free: 3.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3729, allocations: 25.7 kB / 0.6817 GB, free: 3.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.373, allocations: 132.4 kB / 0.6818 GB, free: 3.629 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.373, allocations: 67.02 kB / 0.6819 GB, free: 3.562 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3731, allocations: 0 / 0.6819 GB, free: 3.562 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.3731, allocations: 334.8 kB / 0.6822 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.3732, allocations: 63.97 kB / 0.6823 GB, free: 3.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3733, allocations: 81.62 kB / 0.6824 GB, free: 3.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3735, allocations: 153.6 kB / 0.6825 GB, free: 2.922 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3736, allocations: 0 / 0.6825 GB, free: 2.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003972/0.374, allocations: 289.9 kB / 0.6828 GB, free: 2.633 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.374, allocations: 7.938 kB / 0.6828 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.374, allocations: 4 kB / 0.6828 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.3742, allocations: 88.8 kB / 0.6829 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.3743, allocations: 23.92 kB / 0.6829 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.3759, allocations: 1.799 MB / 0.6847 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.503e-05/0.376, allocations: 16 kB / 0.6847 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.376, allocations: 8.031 kB / 0.6847 GB, free: 0.5547 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.3761, allocations: 141.7 kB / 0.6848 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.3761, allocations: 15.81 kB / 0.6848 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.3766, allocations: 292.2 kB / 0.6851 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3766, allocations: 4 kB / 0.6851 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3766, allocations: 0 / 0.6851 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3766, allocations: 3.938 kB / 0.6851 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.3769, allocations: 305.4 kB / 0.6854 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3769, allocations: 0 / 0.6854 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.377, allocations: 16 kB / 0.6854 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.3772, allocations: 96.67 kB / 0.6855 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3773, allocations: 7.984 kB / 0.6855 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.3788, allocations: 1.825 MB / 0.6873 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3788, allocations: 0 / 0.6873 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.3793, allocations: 455.7 kB / 0.6877 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.3794, allocations: 89.8 kB / 0.6878 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3794, allocations: 8 kB / 0.6878 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3795, allocations: 8.031 kB / 0.6878 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3796, allocations: 19.98 kB / 0.6879 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3796, allocations: 7.984 kB / 0.6879 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.3797, allocations: 133.2 kB / 0.688 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3797, allocations: 0 / 0.688 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002843/0.38, allocations: 79.98 kB / 0.6881 GB, free: 12.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008897/0.3808, allocations: 1.053 MB / 0.6891 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.3814, allocations: 368.1 kB / 0.6894 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3814, allocations: 4 kB / 0.6894 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.3818, allocations: 293.1 kB / 0.6897 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3821, allocations: 35.97 kB / 0.6898 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3847, allocations: 2.578 MB / 0.6923 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.385, allocations: 0.7558 MB / 0.693 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.241e-05/0.3851, allocations: 25.48 kB / 0.693 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3851, allocations: 63.41 kB / 0.6931 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of SimCode: time 2.01e-07/0.3851, allocations: 0 / 0.6931 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.4004, allocations: 6.237 MB / 0.6992 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.4006, allocations: 242.3 kB / 0.6994 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.01, allocations: 0 / 0.6994 GB, free: 1.129 MB / 0.4948 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches