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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.899/1.899, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 1.16/1.16, allocations: 94.59 MB / 397.3 MB, free: 308 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 84.72 kB / 0.5416 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2575, allocations: 71.86 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 1.026/1.284, allocations: 141 MB / 0.7494 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005289/1.289, allocations: 3.345 MB / 0.7527 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/1.29, allocations: 23.58 kB / 0.7527 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007262/1.291, allocations: 134.6 kB / 0.7528 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009233/1.292, allocations: 207.3 kB / 0.753 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/1.292, allocations: 199.3 kB / 0.7532 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008201/1.293, allocations: 389.3 kB / 0.7536 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/1.293, allocations: 39.73 kB / 0.7536 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/1.294, allocations: 234.3 kB / 0.7539 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/1.294, allocations: 121.6 kB / 0.754 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/1.294, allocations: 10.47 kB / 0.754 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/1.295, allocations: 266.1 kB / 0.7542 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/1.295, allocations: 39.53 kB / 0.7543 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/1.296, allocations: 110.5 kB / 0.7544 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007779/1.296, allocations: 343.8 kB / 0.7547 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.296, allocations: 1.203 kB / 0.7547 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.448e-06/1.296, allocations: 0.9688 kB / 0.7547 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.342e-05/1.296, allocations: 0 / 0.7547 GB, free: 2.387 MB / 0.5762 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.001423/1.298, allocations: 0.5738 MB / 0.7553 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001617/1.298, allocations: 15.25 kB / 0.7553 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/1.298, allocations: 44.97 kB / 0.7553 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/1.298, allocations: 38.73 kB / 0.7554 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.299, allocations: 386.2 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/1.299, allocations: 11.77 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.299, allocations: 11.25 kB / 0.7558 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/1.3, allocations: 155.1 kB / 0.7559 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.3, allocations: 1.219 kB / 0.7559 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.3, allocations: 7.906 kB / 0.7559 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.3, allocations: 3.5 kB / 0.7559 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/1.3, allocations: 69.25 kB / 0.756 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/1.301, allocations: 0.7279 MB / 0.7567 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/1.302, allocations: 80.8 kB / 0.7568 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/1.302, allocations: 35.61 kB / 0.7568 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/1.302, allocations: 166.1 kB / 0.757 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/1.302, allocations: 38.5 kB / 0.757 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.302, allocations: 0 / 0.757 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008364/1.303, allocations: 334 kB / 0.7573 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/1.303, allocations: 84.62 kB / 0.7574 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/1.304, allocations: 335.2 kB / 0.7577 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/1.304, allocations: 28.7 kB / 0.7577 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/1.304, allocations: 168.7 kB / 0.7579 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/1.304, allocations: 35.23 kB / 0.7579 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/1.304, allocations: 22.59 kB / 0.758 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002226/1.304, allocations: 347.9 kB / 0.7583 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/1.304, allocations: 14.62 kB / 0.7583 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/1.304, allocations: 48.95 kB / 0.7583 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/1.304, allocations: 77.19 kB / 0.7584 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.304, allocations: 0 / 0.7584 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002725/1.305, allocations: 162 kB / 0.7586 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.305, allocations: 9.344 kB / 0.7586 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.305, allocations: 3.438 kB / 0.7586 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.305, allocations: 41.38 kB / 0.7586 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/1.305, allocations: 13.06 kB / 0.7586 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/1.308, allocations: 2.756 MB / 0.7613 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/1.308, allocations: 15.14 kB / 0.7613 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.308, allocations: 5.875 kB / 0.7614 GB, free: 12.95 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.0003264/1.308, allocations: 143.1 kB / 0.7615 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/1.309, allocations: 43.48 kB / 0.7615 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/1.309, allocations: 148.4 kB / 0.7617 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.309, allocations: 0.8125 kB / 0.7617 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.309, allocations: 3.844 kB / 0.7617 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.309, allocations: 2.828 kB / 0.7617 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/1.31, allocations: 0.5337 MB / 0.7622 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.31, allocations: 0.7031 kB / 0.7622 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/1.31, allocations: 7.938 kB / 0.7622 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/1.31, allocations: 42.77 kB / 0.7623 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/1.31, allocations: 4.812 kB / 0.7623 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/1.313, allocations: 2.761 MB / 0.765 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.313, allocations: 1.734 kB / 0.765 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/1.314, allocations: 338.1 kB / 0.7653 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.314, allocations: 109.7 kB / 0.7654 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/1.314, allocations: 3.766 kB / 0.7654 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.314, allocations: 1.719 kB / 0.7654 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/1.314, allocations: 16.34 kB / 0.7654 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/1.314, allocations: 4.094 kB / 0.7654 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003522/1.315, allocations: 241.9 kB / 0.7656 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.315, allocations: 0 / 0.7656 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006593/1.315, allocations: 44.16 kB / 0.7657 GB, free: 9.145 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.001186/1.316, allocations: 0.9277 MB / 0.7666 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008145/1.317, allocations: 287.2 kB / 0.7669 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.317, allocations: 2.156 kB / 0.7669 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/1.318, allocations: 251.2 kB / 0.7671 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/1.318, allocations: 66.89 kB / 0.7672 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/1.324, allocations: 2.694 MB / 0.7698 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/1.325, allocations: 0.7623 MB / 0.7705 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001382/1.325, allocations: 30.69 kB / 0.7706 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.325, allocations: 86.05 kB / 0.7706 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/1.325, allocations: 0.8125 kB / 0.7707 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/1.381, allocations: 6.916 MB / 0.7774 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/15.15, allocations: 10.38 kB / 0.7774 GB, free: 4.969 MB / 0.5919 GB " [Timeout remaining time 645] (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_2/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.298519857227802]