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.001231/0.001231, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001146/0.001146, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.404/1.404, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.9411/0.9411, allocations: 80.18 MB / 339.4 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.508e-06, allocations: 0 / 0.4924 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.031e-05/6.982e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02141/0.02148, allocations: 17.11 MB / 0.5091 GB, free: 7.191 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007398/0.02888, allocations: 5.43 MB / 0.5144 GB, free: 1.746 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.03026, allocations: 35.62 kB / 0.5144 GB, free: 1.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009929/0.03125, allocations: 262 kB / 0.5147 GB, free: 1.453 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.03375, allocations: 0.5895 MB / 0.5152 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.03522, allocations: 374.5 kB / 0.5156 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.03705, allocations: 0.9032 MB / 0.5165 GB, free: 15.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.03739, allocations: 94.03 kB / 0.5166 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.03905, allocations: 0.4985 MB / 0.5171 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.03938, allocations: 235.2 kB / 0.5173 GB, free: 14.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.03943, allocations: 40 kB / 0.5173 GB, free: 14.72 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.04079, allocations: 335.4 kB / 0.5176 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.04094, allocations: 119.4 kB / 0.5177 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.04121, allocations: 199.5 kB / 0.5179 GB, free: 14.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.04311, allocations: 0.8487 MB / 0.5188 GB, free: 13.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.04312, allocations: 0 / 0.5188 GB, free: 13.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.04313, allocations: 0 / 0.5188 GB, free: 13.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.04315, allocations: 0 / 0.5188 GB, free: 13.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002648/0.04579, allocations: 0.9284 MB / 0.5197 GB, free: 12.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.563e-05/0.04589, allocations: 13.47 kB / 0.5197 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.046, allocations: 74.72 kB / 0.5198 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.04635, allocations: 84.45 kB / 0.5198 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.04762, allocations: 473.4 kB / 0.5203 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.0477, allocations: 33.38 kB / 0.5203 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.04783, allocations: 47.89 kB / 0.5204 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.0486, allocations: 468.7 kB / 0.5208 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.04862, allocations: 0 / 0.5208 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.04866, allocations: 20 kB / 0.5208 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.04868, allocations: 12 kB / 0.5208 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.04942, allocations: 419.7 kB / 0.5212 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.05218, allocations: 1.579 MB / 0.5228 GB, free: 8.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.05309, allocations: 379.8 kB / 0.5231 GB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.0533, allocations: 169.4 kB / 0.5233 GB, free: 8.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.05448, allocations: 0.605 MB / 0.5239 GB, free: 7.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.366e-05/0.05455, allocations: 38.89 kB / 0.5239 GB, free: 7.723 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.707e-06/0.05455, allocations: 0 / 0.5239 GB, free: 7.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.003429/0.05798, allocations: 1.305 MB / 0.5252 GB, free: 6.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.05807, allocations: 96.92 kB / 0.5253 GB, free: 6.293 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.05868, allocations: 483.1 kB / 0.5258 GB, free: 5.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.05871, allocations: 33.7 kB / 0.5258 GB, free: 5.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.05896, allocations: 304.6 kB / 0.5261 GB, free: 5.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.0591, allocations: 146.8 kB / 0.5262 GB, free: 5.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.05927, allocations: 74.19 kB / 0.5263 GB, free: 5.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002867/0.05956, allocations: 366.8 kB / 0.5266 GB, free: 4.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.05975, allocations: 128.9 kB / 0.5268 GB, free: 4.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.06001, allocations: 207.8 kB / 0.527 GB, free: 4.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.06055, allocations: 346.6 kB / 0.5273 GB, free: 4.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.06056, allocations: 0 / 0.5273 GB, free: 4.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00169/0.06225, allocations: 0.8185 MB / 0.5281 GB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.06229, allocations: 4 kB / 0.5281 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.06231, allocations: 0 / 0.5281 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.06376, allocations: 0.4895 MB / 0.5286 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.06399, allocations: 63.91 kB / 0.5286 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.06627, allocations: 2.094 MB / 0.5307 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.0666, allocations: 39.72 kB / 0.5307 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.06663, allocations: 19.94 kB / 0.5307 GB, free: 484 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (37): * Single equations (assignments): 35 * 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.0002395/0.06687, allocations: 180.2 kB / 0.5309 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.06695, allocations: 59.62 kB / 0.531 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.06887, allocations: 0.8549 MB / 0.5318 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.06888, allocations: 4 kB / 0.5318 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.06889, allocations: 0 / 0.5318 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.0689, allocations: 0 / 0.5318 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.07131, allocations: 1.288 MB / 0.5331 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.07132, allocations: 4.031 kB / 0.5331 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.07148, allocations: 51.91 kB / 0.5331 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.07292, allocations: 493.3 kB / 0.5336 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.073, allocations: 15.98 kB / 0.5336 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.07483, allocations: 2.086 MB / 0.5356 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.07483, allocations: 3.938 kB / 0.5357 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.0769, allocations: 1.087 MB / 0.5367 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.07707, allocations: 91.48 kB / 0.5368 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.07711, allocations: 20.05 kB / 0.5368 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.07725, allocations: 8 kB / 0.5368 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.07732, allocations: 31.94 kB / 0.5369 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.07734, allocations: 12 kB / 0.5369 GB, free: 9.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004671/0.07781, allocations: 354.8 kB / 0.5372 GB, free: 9.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07781, allocations: 0 / 0.5372 GB, free: 9.598 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007101/0.07852, allocations: 191.6 kB / 0.5374 GB, free: 9.41 MB / 458.7 MB 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.002856/0.08137, allocations: 1.823 MB / 0.5392 GB, free: 7.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.08254, allocations: 463.1 kB / 0.5396 GB, free: 7.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.08254, allocations: 4.062 kB / 0.5396 GB, free: 7.074 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.08291, allocations: 306.5 kB / 0.5399 GB, free: 6.762 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.08385, allocations: 219.1 kB / 0.5401 GB, free: 6.551 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.09239, allocations: 5.184 MB / 0.5452 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.09278, allocations: 272.1 kB / 0.5454 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.09317, allocations: 80.75 kB / 0.5455 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.09348, allocations: 220.4 kB / 0.5457 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of SimCode: time 5.179e-06/0.09349, allocations: 0 / 0.5457 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.1515, allocations: 18.57 MB / 0.5639 GB, free: 14.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.34, allocations: 7.734 kB / 0.5639 GB, free: 14.36 MB / 490.7 MB " [Timeout remaining time 649] (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/jenkins/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: 15.34881470259279]