Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002019/0.002019, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002797/0.002797, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.768/1.768, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.9619/0.9619, allocations: 94.62 MB / 407 MB, free: 8.844 MB / 318.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/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_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_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.002658/0.002658, allocations: 89.19 kB / 0.5549 GB, free: 38.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2127, allocations: 73.05 MB / 0.6263 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2129/0.4256, allocations: 121 MB / 0.7444 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.4307, allocations: 3.066 MB / 0.7474 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.4311, allocations: 27.75 kB / 0.7474 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.4318, allocations: 123.1 kB / 0.7476 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.4324, allocations: 206.7 kB / 0.7478 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.4331, allocations: 199.3 kB / 0.748 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.4337, allocations: 394.4 kB / 0.7483 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.4339, allocations: 32.92 kB / 0.7484 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.4347, allocations: 239 kB / 0.7486 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.4349, allocations: 123.2 kB / 0.7487 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.4349, allocations: 8 kB / 0.7487 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.4355, allocations: 223.6 kB / 0.7489 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4356, allocations: 35.8 kB / 0.749 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4357, allocations: 79.44 kB / 0.749 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.4365, allocations: 338.5 kB / 0.7494 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4365, allocations: 0 / 0.7494 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.007e-06/0.4365, allocations: 0 / 0.7494 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.4365, allocations: 4 kB / 0.7494 GB, free: 1.652 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.001184/0.4377, allocations: 0.5008 MB / 0.7499 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.4377, allocations: 12.03 kB / 0.7499 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.4378, allocations: 38.75 kB / 0.7499 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.4379, allocations: 32.75 kB / 0.7499 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.4386, allocations: 316.9 kB / 0.7502 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4386, allocations: 8.609 kB / 0.7502 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.4386, allocations: 12.38 kB / 0.7503 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.4389, allocations: 152 kB / 0.7504 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4389, allocations: 4 kB / 0.7504 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.439, allocations: 4 kB / 0.7504 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.439, allocations: 4 kB / 0.7504 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.4391, allocations: 71.91 kB / 0.7505 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5516/0.9907, allocations: 0.6846 MB / 0.7511 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.9909, allocations: 76.23 kB / 0.7512 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.991, allocations: 31.89 kB / 0.7513 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.9911, allocations: 13.31 kB / 0.7513 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9912, allocations: 34.09 kB / 0.7513 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 4.478e-06/0.9912, allocations: 4.281 kB / 0.7513 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0009931/0.9922, allocations: 181.5 kB / 0.7515 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.9922, allocations: 84.62 kB / 0.7516 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.9928, allocations: 335.2 kB / 0.7519 GB, free: 128 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.9929, allocations: 25.7 kB / 0.7519 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.993, allocations: 167.4 kB / 0.7521 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.9931, allocations: 35.89 kB / 0.7521 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.9931, allocations: 25.17 kB / 0.7521 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9932, allocations: 341.5 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.9933, allocations: 18.41 kB / 0.7525 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.9933, allocations: 49.39 kB / 0.7525 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.9934, allocations: 74.73 kB / 0.7526 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9934, allocations: 0 / 0.7526 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002985/0.9937, allocations: 162.4 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9938, allocations: 7.406 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9938, allocations: 2.094 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.994, allocations: 45.02 kB / 0.7528 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.9941, allocations: 13.27 kB / 0.7528 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.9958, allocations: 2.55 MB / 0.7553 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.9959, allocations: 13.25 kB / 0.7553 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.996, allocations: 3.672 kB / 0.7553 GB, free: 124.9 MB / 0.5762 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.0001775/0.9961, allocations: 134.7 kB / 0.7554 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9962, allocations: 33.84 kB / 0.7555 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.9967, allocations: 155.9 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9967, allocations: 2.375 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9967, allocations: 7.406 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9967, allocations: 3.938 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.9973, allocations: 0.4933 MB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9973, allocations: 1.438 kB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.9974, allocations: 7.062 kB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.9975, allocations: 43.97 kB / 0.7562 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9975, allocations: 6.734 kB / 0.7562 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.9994, allocations: 2.557 MB / 0.7587 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9994, allocations: 3.641 kB / 0.7587 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.9998, allocations: 344.4 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.9998, allocations: 25.42 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.9999, allocations: 6.672 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1, allocations: 2.844 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/1, allocations: 6.266 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1, allocations: 4.406 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003486/1, allocations: 250.1 kB / 0.7593 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1, allocations: 0 / 0.7593 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004125/1.001, allocations: 49.61 kB / 0.7593 GB, free: 121.4 MB / 0.5762 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.0006373/1.001, allocations: 0.9182 MB / 0.7602 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004442/1.002, allocations: 283.3 kB / 0.7605 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.002, allocations: 2.906 kB / 0.7605 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/1.002, allocations: 252.4 kB / 0.7607 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/1.003, allocations: 60.23 kB / 0.7608 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/1.007, allocations: 2.693 MB / 0.7634 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/1.007, allocations: 151 kB / 0.7636 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001224/1.007, allocations: 31.97 kB / 0.7636 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.007, allocations: 92.75 kB / 0.7637 GB, free: 118 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.007, allocations: 4.047 kB / 0.7637 GB, free: 118 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/1.062, allocations: 7.669 MB / 0.7712 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.04, allocations: 4.656 kB / 0.7712 GB, free: 115.5 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 19.665290631819516]