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.001295/0.001295, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001547/0.001547, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.7469/0.7469, allocations: 94.56 MB / 407.8 MB, free: 9.16 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.002403/0.002403, allocations: 82.36 kB / 0.5557 GB, free: 38.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1197, allocations: 73.06 MB / 0.6271 GB, free: 456 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02085/0.1405, allocations: 17.73 MB / 0.6444 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.149, allocations: 6.871 MB / 0.6511 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.1497, allocations: 35.69 kB / 0.6511 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.1505, allocations: 282 kB / 0.6514 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.1522, allocations: 0.5512 MB / 0.6519 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1532, allocations: 374.6 kB / 0.6523 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1544, allocations: 0.8165 MB / 0.6531 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.1547, allocations: 98.09 kB / 0.6532 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.1553, allocations: 366.4 kB / 0.6535 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.1557, allocations: 298.5 kB / 0.6538 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.1558, allocations: 40 kB / 0.6538 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009404/0.1567, allocations: 375.6 kB / 0.6542 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1568, allocations: 115.5 kB / 0.6543 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.1572, allocations: 302.2 kB / 0.6546 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1585, allocations: 0.8364 MB / 0.6554 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1585, allocations: 0 / 0.6554 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1585, allocations: 0 / 0.6554 GB, free: 3.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1586, allocations: 0 / 0.6554 GB, free: 3.285 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.001668/0.1602, allocations: 0.9207 MB / 0.6563 GB, free: 2.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1603, allocations: 8.031 kB / 0.6563 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.1603, allocations: 17.12 kB / 0.6563 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.844e-05/0.1604, allocations: 74.72 kB / 0.6564 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1606, allocations: 80.45 kB / 0.6565 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.1615, allocations: 469.7 kB / 0.6569 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1615, allocations: 29 kB / 0.657 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.1616, allocations: 43.94 kB / 0.657 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.1624, allocations: 467.8 kB / 0.6575 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.1624, allocations: 0 / 0.6575 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.1624, allocations: 16 kB / 0.6575 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.1625, allocations: 12 kB / 0.6575 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.1632, allocations: 419.7 kB / 0.6579 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.1659, allocations: 2.034 MB / 0.6599 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.1666, allocations: 381.3 kB / 0.6602 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.1669, allocations: 165 kB / 0.6604 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.1682, allocations: 0.7804 MB / 0.6612 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1683, allocations: 46.77 kB / 0.6612 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.1683, allocations: 0 / 0.6612 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005671/0.1739, allocations: 1.309 MB / 0.6625 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.174, allocations: 88.98 kB / 0.6626 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.1746, allocations: 478.9 kB / 0.663 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.1746, allocations: 33.7 kB / 0.6631 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1748, allocations: 292.7 kB / 0.6633 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.175, allocations: 146.8 kB / 0.6635 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1751, allocations: 70.12 kB / 0.6635 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1753, allocations: 370.8 kB / 0.6639 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1755, allocations: 128.9 kB / 0.664 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1758, allocations: 185.8 kB / 0.6642 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.1764, allocations: 335 kB / 0.6645 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1764, allocations: 0 / 0.6645 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002701/0.1791, allocations: 0.8069 MB / 0.6653 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1791, allocations: 8.031 kB / 0.6653 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1791, allocations: 4 kB / 0.6653 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/0.1817, allocations: 497.2 kB / 0.6658 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1819, allocations: 59.91 kB / 0.6658 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.1841, allocations: 2.101 MB / 0.6679 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1843, allocations: 43.69 kB / 0.6679 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.1844, allocations: 16 kB / 0.6679 GB, free: 5.879 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0002499/0.1846, allocations: 161.8 kB / 0.6681 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1847, allocations: 67.62 kB / 0.6682 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.1876, allocations: 0.864 MB / 0.669 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1876, allocations: 4 kB / 0.669 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1876, allocations: 3.938 kB / 0.669 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.1876, allocations: 3.984 kB / 0.669 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.191, allocations: 1.34 MB / 0.6703 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.191, allocations: 11.98 kB / 0.6703 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1912, allocations: 51.91 kB / 0.6704 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.1937, allocations: 0.4934 MB / 0.6709 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.1937, allocations: 8 kB / 0.6709 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.1957, allocations: 2.09 MB / 0.6729 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1957, allocations: 32 / 0.6729 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.1988, allocations: 1.119 MB / 0.674 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.199, allocations: 91.45 kB / 0.6741 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.199, allocations: 19.88 kB / 0.6741 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.1993, allocations: 11.94 kB / 0.6741 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1994, allocations: 35.94 kB / 0.6742 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.1994, allocations: 16 kB / 0.6742 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004199/0.1998, allocations: 346.8 kB / 0.6745 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1998, allocations: 0 / 0.6745 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006443/0.2005, allocations: 191.6 kB / 0.6747 GB, free: 14.7 MB / 0.5137 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 (27): * Single equations (assignments): 25 * 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.003646/0.2041, allocations: 1.82 MB / 0.6765 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000968/0.2051, allocations: 473.6 kB / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2051, allocations: 0 / 0.6769 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.2056, allocations: 299 kB / 0.6772 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.2065, allocations: 150.2 kB / 0.6774 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.2168, allocations: 5.193 MB / 0.6824 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.2173, allocations: 0.8744 MB / 0.6833 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.2176, allocations: 84.5 kB / 0.6834 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.2178, allocations: 211.4 kB / 0.6836 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.2178, allocations: 4 kB / 0.6836 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/0.2814, allocations: 16.95 MB / 0.7001 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.19, allocations: 6.5 kB / 0.7001 GB, free: 4.664 MB / 0.5294 GB " [Timeout remaining time 646] (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: 17.72645305399783]