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.001672/0.001672, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.002089/0.002089, allocations: 215 kB / 20.13 MB, free: 2.949 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 0.6471/0.6471, allocations: 100.3 MB / 409.8 MB, free: 5.383 MB / 334.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="cs",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.002573/0.002573, allocations: 84.64 kB / 0.5589 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3684, allocations: 74.41 MB / 0.6315 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1633/0.5317, allocations: 141 MB / 0.7693 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.5355, allocations: 3.352 MB / 0.7725 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.5358, allocations: 27.75 kB / 0.7726 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.5363, allocations: 139 kB / 0.7727 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.5367, allocations: 202.8 kB / 0.7729 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.5372, allocations: 203.2 kB / 0.7731 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.5377, allocations: 390.4 kB / 0.7735 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.5378, allocations: 36.73 kB / 0.7735 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.5383, allocations: 234.9 kB / 0.7737 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.5384, allocations: 127.3 kB / 0.7738 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.5384, allocations: 8 kB / 0.7739 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.5389, allocations: 271.5 kB / 0.7741 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.539, allocations: 35.8 kB / 0.7741 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.5391, allocations: 107.2 kB / 0.7742 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.5395, allocations: 342.5 kB / 0.7746 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5395, allocations: 0 / 0.7746 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5395, allocations: 0 / 0.7746 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.5396, allocations: 0 / 0.7746 GB, free: 0.4922 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.0008111/0.5404, allocations: 0.5838 MB / 0.7751 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5404, allocations: 12.03 kB / 0.7752 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.318e-05/0.5404, allocations: 4.359 kB / 0.7752 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.5405, allocations: 46.73 kB / 0.7752 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.5405, allocations: 36.7 kB / 0.7752 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.5411, allocations: 376.2 kB / 0.7756 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5411, allocations: 16.61 kB / 0.7756 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.5411, allocations: 16.08 kB / 0.7756 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.5414, allocations: 146.7 kB / 0.7758 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5414, allocations: 4 kB / 0.7758 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5414, allocations: 4 kB / 0.7758 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.5414, allocations: 4 kB / 0.7758 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.5415, allocations: 67.91 kB / 0.7758 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.5424, allocations: 0.7389 MB / 0.7766 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.5425, allocations: 85.14 kB / 0.7766 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.5426, allocations: 29.72 kB / 0.7767 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.5427, allocations: 162.3 kB / 0.7768 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5427, allocations: 30.56 kB / 0.7769 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.5427, allocations: 0 / 0.7769 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007383/0.5435, allocations: 353.1 kB / 0.7772 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5435, allocations: 81.05 kB / 0.7773 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.5439, allocations: 333.7 kB / 0.7776 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5439, allocations: 25.7 kB / 0.7776 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.544, allocations: 164 kB / 0.7778 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.5441, allocations: 35.73 kB / 0.7778 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.5441, allocations: 33.72 kB / 0.7778 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5443, allocations: 342.8 kB / 0.7782 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.5443, allocations: 16 kB / 0.7782 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.5444, allocations: 43.42 kB / 0.7782 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.5445, allocations: 79.36 kB / 0.7783 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5445, allocations: 0 / 0.7783 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002949/0.5448, allocations: 167 kB / 0.7785 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5448, allocations: 4 kB / 0.7785 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5448, allocations: 0 / 0.7785 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.545, allocations: 41.77 kB / 0.7785 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.5451, allocations: 23.86 kB / 0.7785 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.5471, allocations: 2.754 MB / 0.7812 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.5472, allocations: 15.92 kB / 0.7812 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.5472, allocations: 7.984 kB / 0.7812 GB, free: 8.988 MB / 0.6075 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.0001291/0.5474, allocations: 135.3 kB / 0.7814 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.5474, allocations: 35.84 kB / 0.7814 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.5477, allocations: 155.4 kB / 0.7815 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5477, allocations: 4 kB / 0.7816 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5477, allocations: 0 / 0.7816 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5477, allocations: 192 / 0.7816 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.5483, allocations: 0.5321 MB / 0.7821 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5483, allocations: 3.938 kB / 0.7821 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.5483, allocations: 7.984 kB / 0.7821 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.5485, allocations: 41.64 kB / 0.7821 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.5485, allocations: 11.98 kB / 0.7821 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.5505, allocations: 2.763 MB / 0.7848 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5505, allocations: 0 / 0.7848 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.5508, allocations: 338 kB / 0.7852 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.5509, allocations: 112.8 kB / 0.7853 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.5509, allocations: 3.938 kB / 0.7853 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.551, allocations: 4 kB / 0.7853 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.5511, allocations: 15.92 kB / 0.7853 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5511, allocations: 0 / 0.7853 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002491/0.5513, allocations: 243.2 kB / 0.7855 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.5513, allocations: 0 / 0.7855 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000374/0.5517, allocations: 43.98 kB / 0.7856 GB, free: 4.133 MB / 0.6075 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.0007849/0.5525, allocations: 0.9258 MB / 0.7865 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.5529, allocations: 281.5 kB / 0.7867 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5529, allocations: 0 / 0.7867 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.5532, allocations: 261.5 kB / 0.787 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.5538, allocations: 70.33 kB / 0.787 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.557, allocations: 2.695 MB / 0.7897 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.5574, allocations: 0.7596 MB / 0.7904 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.663e-05/0.5575, allocations: 26.97 kB / 0.7904 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5576, allocations: 91.41 kB / 0.7905 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.5576, allocations: 0 / 0.7905 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.5908, allocations: 6.939 MB / 0.7973 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.9, allocations: 11.5 kB / 0.7973 GB, free: 8.012 MB / 0.6231 GB " [Timeout remaining time 649] (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: 14.293263319006655]