Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00312/0.00312, allocations: 219.5 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.785/1.785, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.098/1.098, allocations: 100.3 MB / 412.7 MB, free: 3.695 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 91.56 kB / 0.5633 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2659, allocations: 74.46 MB / 0.636 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 1.022/1.288, allocations: 141.1 MB / 0.7738 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00472/1.293, allocations: 3.373 MB / 0.7771 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/1.293, allocations: 32.06 kB / 0.7771 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008/1.294, allocations: 133.1 kB / 0.7772 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006266/1.295, allocations: 206.6 kB / 0.7774 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/1.295, allocations: 216.6 kB / 0.7776 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/1.296, allocations: 396.8 kB / 0.778 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/1.296, allocations: 38.8 kB / 0.778 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/1.297, allocations: 227.8 kB / 0.7783 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/1.297, allocations: 125.6 kB / 0.7784 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/1.297, allocations: 9.094 kB / 0.7784 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/1.298, allocations: 275.5 kB / 0.7787 GB, free: 0 / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/1.298, allocations: 33.05 kB / 0.7787 GB, free: 0 / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/1.299, allocations: 114.8 kB / 0.7788 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/1.3, allocations: 335.8 kB / 0.7791 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/1.3, allocations: 4.5 kB / 0.7791 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.775e-06/1.3, allocations: 0 / 0.7791 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.3, allocations: 0.5 kB / 0.7791 GB, free: 15.97 MB / 0.5919 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.001296/1.301, allocations: 0.5135 MB / 0.7796 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.671e-05/1.301, allocations: 9.5 kB / 0.7796 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/1.301, allocations: 43.73 kB / 0.7797 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/1.301, allocations: 35.86 kB / 0.7797 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.302, allocations: 305.4 kB / 0.78 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.303, allocations: 9.172 kB / 0.78 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/1.303, allocations: 24.41 kB / 0.78 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/1.303, allocations: 146.8 kB / 0.7802 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.303, allocations: 4.469 kB / 0.7802 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/1.303, allocations: 7.188 kB / 0.7802 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.303, allocations: 2.812 kB / 0.7802 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/1.303, allocations: 72.92 kB / 0.7803 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/1.305, allocations: 0.7055 MB / 0.7809 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/1.305, allocations: 78.8 kB / 0.781 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.305, allocations: 35.8 kB / 0.7811 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.305, allocations: 20.73 kB / 0.7811 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.305, allocations: 31.59 kB / 0.7811 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.305, allocations: 1.703 kB / 0.7811 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0009492/1.306, allocations: 194.1 kB / 0.7813 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.306, allocations: 78.2 kB / 0.7814 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/1.307, allocations: 332.1 kB / 0.7817 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/1.307, allocations: 31.55 kB / 0.7817 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/1.307, allocations: 162 kB / 0.7819 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/1.307, allocations: 33.23 kB / 0.7819 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/1.307, allocations: 24.61 kB / 0.7819 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002975/1.307, allocations: 345.2 kB / 0.7822 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/1.308, allocations: 20.22 kB / 0.7823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/1.308, allocations: 46.23 kB / 0.7823 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/1.308, allocations: 73.53 kB / 0.7824 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.308, allocations: 7.938 kB / 0.7824 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003609/1.308, allocations: 155.1 kB / 0.7825 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.308, allocations: 10.41 kB / 0.7825 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.308, allocations: 2.438 kB / 0.7826 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/1.308, allocations: 39.25 kB / 0.7826 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/1.309, allocations: 17.09 kB / 0.7826 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/1.311, allocations: 2.556 MB / 0.7851 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/1.311, allocations: 15.55 kB / 0.7851 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/1.311, allocations: 2.719 kB / 0.7851 GB, free: 11.23 MB / 0.5919 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.311, allocations: 133.5 kB / 0.7852 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/1.312, allocations: 39.16 kB / 0.7853 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/1.312, allocations: 155.7 kB / 0.7854 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.312, allocations: 2.031 kB / 0.7854 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.312, allocations: 1.375 kB / 0.7854 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.312, allocations: 0 / 0.7854 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/1.313, allocations: 0.5115 MB / 0.7859 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.313, allocations: 1.062 kB / 0.7859 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/1.313, allocations: 5.344 kB / 0.7859 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/1.313, allocations: 42.83 kB / 0.786 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/1.313, allocations: 5.5 kB / 0.786 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/1.315, allocations: 2.557 MB / 0.7885 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.315, allocations: 5.375 kB / 0.7885 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/1.316, allocations: 337 kB / 0.7888 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/1.316, allocations: 33.42 kB / 0.7888 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/1.316, allocations: 8.25 kB / 0.7888 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.316, allocations: 1.219 kB / 0.7889 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.316, allocations: 14.11 kB / 0.7889 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.316, allocations: 2.156 kB / 0.7889 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004407/1.317, allocations: 244.9 kB / 0.7891 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.317, allocations: 0.5938 kB / 0.7891 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004937/1.317, allocations: 48.81 kB / 0.7891 GB, free: 7.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009326/1.318, allocations: 0.927 MB / 0.7901 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000634/1.319, allocations: 283.6 kB / 0.7903 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.319, allocations: 3.938 kB / 0.7903 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/1.319, allocations: 260.6 kB / 0.7906 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/1.32, allocations: 59.91 kB / 0.7906 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/1.325, allocations: 2.69 MB / 0.7933 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/1.325, allocations: 0.7579 MB / 0.794 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001233/1.325, allocations: 34.92 kB / 0.794 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.326, allocations: 88.78 kB / 0.7941 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/1.326, allocations: 0 / 0.7941 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/1.381, allocations: 6.978 MB / 0.8009 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.5, allocations: 5.156 kB / 0.8009 GB, free: 3.223 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.3380094030872]