Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001762/0.001762, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002084/0.002084, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8229/0.8229, allocations: 94.61 MB / 407.8 MB, free: 8.93 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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",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.002404/0.002404, allocations: 85.97 kB / 0.5557 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1394, allocations: 73.05 MB / 0.627 GB, free: 248 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02144/0.1608, allocations: 16.12 MB / 0.6428 GB, free: 48 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.1699, allocations: 6.218 MB / 0.6489 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008607/0.1708, allocations: 31.69 kB / 0.6489 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.1717, allocations: 254.2 kB / 0.6491 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1736, allocations: 0.5434 MB / 0.6497 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1746, allocations: 362.7 kB / 0.65 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1758, allocations: 0.8204 MB / 0.6508 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.1761, allocations: 98.09 kB / 0.6509 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.177, allocations: 362.4 kB / 0.6512 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.1774, allocations: 306.5 kB / 0.6515 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.1775, allocations: 40 kB / 0.6516 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.1784, allocations: 335.7 kB / 0.6519 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1786, allocations: 115.4 kB / 0.652 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.1788, allocations: 238.7 kB / 0.6522 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1802, allocations: 0.8325 MB / 0.653 GB, free: 5.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1802, allocations: 0 / 0.653 GB, free: 5.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1802, allocations: 4 kB / 0.653 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1802, allocations: 0 / 0.653 GB, free: 5.492 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001731/0.1819, allocations: 0.9129 MB / 0.6539 GB, free: 4.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.182, allocations: 8.031 kB / 0.6539 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.181e-05/0.182, allocations: 13.19 kB / 0.654 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.908e-05/0.1821, allocations: 82.7 kB / 0.654 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1824, allocations: 80.47 kB / 0.6541 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.1833, allocations: 461.8 kB / 0.6546 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.1833, allocations: 36.94 kB / 0.6546 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.1834, allocations: 43.94 kB / 0.6546 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.1842, allocations: 455.9 kB / 0.6551 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1842, allocations: 8 kB / 0.6551 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1842, allocations: 16 kB / 0.6551 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1842, allocations: 11.94 kB / 0.6551 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000703/0.1849, allocations: 419.7 kB / 0.6555 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1874, allocations: 1.488 MB / 0.657 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.1881, allocations: 369.4 kB / 0.6573 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1884, allocations: 161.7 kB / 0.6575 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.1895, allocations: 0.6088 MB / 0.6581 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1896, allocations: 38.77 kB / 0.6581 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.1896, allocations: 4 kB / 0.6581 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006288/0.1959, allocations: 1.302 MB / 0.6594 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1959, allocations: 88.98 kB / 0.6595 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.1966, allocations: 482.9 kB / 0.6599 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.1966, allocations: 29.7 kB / 0.6599 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.1969, allocations: 296.7 kB / 0.6602 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1971, allocations: 146.7 kB / 0.6604 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1972, allocations: 74.12 kB / 0.6604 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1974, allocations: 366.8 kB / 0.6608 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1977, allocations: 128.8 kB / 0.6609 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.198, allocations: 194.3 kB / 0.6611 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.1985, allocations: 333.8 kB / 0.6614 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1985, allocations: 0 / 0.6614 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002935/0.2015, allocations: 0.8067 MB / 0.6622 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.2015, allocations: 8 kB / 0.6622 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2015, allocations: 3.984 kB / 0.6622 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.2043, allocations: 493.3 kB / 0.6627 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.2046, allocations: 71.91 kB / 0.6627 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.207, allocations: 2.09 MB / 0.6648 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.2074, allocations: 39.8 kB / 0.6648 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.2075, allocations: 20 kB / 0.6648 GB, free: 8.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003394/0.2078, allocations: 169.7 kB / 0.665 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.208, allocations: 63.61 kB / 0.6651 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.211, allocations: 0.8528 MB / 0.6659 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.211, allocations: 4 kB / 0.6659 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.211, allocations: 0 / 0.6659 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.211, allocations: 7.984 kB / 0.6659 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.2148, allocations: 1.277 MB / 0.6672 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2148, allocations: 0 / 0.6672 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.215, allocations: 48.05 kB / 0.6672 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00275/0.2178, allocations: 497.3 kB / 0.6677 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.2178, allocations: 15.98 kB / 0.6677 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.22, allocations: 2.094 MB / 0.6697 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.22, allocations: 0 / 0.6697 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.2233, allocations: 1.095 MB / 0.6708 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.2236, allocations: 87.58 kB / 0.6709 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.2237, allocations: 15.92 kB / 0.6709 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.224, allocations: 15.94 kB / 0.6709 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.2241, allocations: 31.88 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.2241, allocations: 15.94 kB / 0.671 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005724/0.2247, allocations: 342.9 kB / 0.6713 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2247, allocations: 0 / 0.6713 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008141/0.2255, allocations: 179.6 kB / 0.6715 GB, free: 1.887 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (26): * Single equations (assignments): 24 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004042/0.2295, allocations: 1.815 MB / 0.6732 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2306, allocations: 454.4 kB / 0.6737 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2306, allocations: 0 / 0.6737 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.2312, allocations: 298.4 kB / 0.674 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009752/0.2322, allocations: 162.3 kB / 0.6741 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.243, allocations: 5.183 MB / 0.6792 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2433, allocations: 271.5 kB / 0.6794 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.2436, allocations: 77.77 kB / 0.6795 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.244, allocations: 211.4 kB / 0.6797 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.244, allocations: 0 / 0.6797 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.292, allocations: 16.6 MB / 0.6959 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.36, allocations: 4.062 kB / 0.6959 GB, free: 8.906 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.299063869053498]