Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005818/0.005818, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 198.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6099/0.6099, allocations: 91.19 MB / 381.7 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 79.88 kB / 0.5164 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 67.69 MB / 0.5825 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2876/0.4089, allocations: 22.83 MB / 0.6048 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4198, allocations: 9.447 MB / 0.614 GB, free: 7.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.4211, allocations: 31.59 kB / 0.614 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4222, allocations: 414 kB / 0.6144 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.4247, allocations: 0.7825 MB / 0.6152 GB, free: 6.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4261, allocations: 478.3 kB / 0.6156 GB, free: 6.281 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.4275, allocations: 1.137 MB / 0.6167 GB, free: 5.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.4279, allocations: 245 kB / 0.617 GB, free: 5.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.4287, allocations: 474.3 kB / 0.6174 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.4292, allocations: 440.9 kB / 0.6179 GB, free: 5.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4294, allocations: 59.31 kB / 0.6179 GB, free: 5.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.431, allocations: 0.5035 MB / 0.6184 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.4312, allocations: 164.6 kB / 0.6186 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.4316, allocations: 431.2 kB / 0.619 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4336, allocations: 1.19 MB / 0.6201 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4336, allocations: 0.5 kB / 0.6201 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4337, allocations: 4.531 kB / 0.6201 GB, free: 4.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4337, allocations: 0 / 0.6201 GB, free: 4.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002473/0.4362, allocations: 1.254 MB / 0.6214 GB, free: 3.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.4362, allocations: 9.438 kB / 0.6214 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.4364, allocations: 105.1 kB / 0.6215 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.4367, allocations: 106.7 kB / 0.6216 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.4381, allocations: 0.6477 MB / 0.6222 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.4381, allocations: 50.31 kB / 0.6223 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.4383, allocations: 65.16 kB / 0.6223 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.4396, allocations: 0.6637 MB / 0.623 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4396, allocations: 2.016 kB / 0.623 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.4397, allocations: 25.91 kB / 0.623 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4397, allocations: 18.44 kB / 0.623 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.4408, allocations: 0.6261 MB / 0.6236 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.4448, allocations: 2.998 MB / 0.6265 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.446, allocations: 0.6726 MB / 0.6272 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.4465, allocations: 285.3 kB / 0.6275 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.4488, allocations: 1.912 MB / 0.6293 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4489, allocations: 37.88 kB / 0.6294 GB, free: 13.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/0.4489, allocations: 1.375 kB / 0.6294 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.009582/0.4585, allocations: 2.43 MB / 0.6318 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4585, allocations: 89.95 kB / 0.6318 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.4593, allocations: 0.5882 MB / 0.6324 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.4594, allocations: 36.11 kB / 0.6324 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.4597, allocations: 374.5 kB / 0.6328 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4598, allocations: 228.2 kB / 0.633 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.46, allocations: 120 kB / 0.6331 GB, free: 11.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4602, allocations: 388 kB / 0.6335 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.4605, allocations: 205.6 kB / 0.6337 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.461, allocations: 296.1 kB / 0.634 GB, free: 11.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.4618, allocations: 0.5379 MB / 0.6345 GB, free: 10.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4619, allocations: 0 / 0.6345 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004789/0.4667, allocations: 1.375 MB / 0.6359 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4667, allocations: 9.5 kB / 0.6359 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4667, allocations: 1.531 kB / 0.6359 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/0.4715, allocations: 0.9393 MB / 0.6368 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.4719, allocations: 95.98 kB / 0.6369 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.4745, allocations: 2.942 MB / 0.6397 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.4751, allocations: 65.27 kB / 0.6398 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.4752, allocations: 22.12 kB / 0.6398 GB, free: 6.891 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.4756, allocations: 202.1 kB / 0.64 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.4758, allocations: 75.91 kB / 0.6401 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/0.4808, allocations: 1.49 MB / 0.6416 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4809, allocations: 6.938 kB / 0.6416 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4809, allocations: 5.625 kB / 0.6416 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.4809, allocations: 4.953 kB / 0.6416 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.4872, allocations: 2.142 MB / 0.6437 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4873, allocations: 5.172 kB / 0.6437 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.4876, allocations: 72.94 kB / 0.6437 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/0.4925, allocations: 0.932 MB / 0.6446 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.4926, allocations: 17.72 kB / 0.6447 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.4953, allocations: 2.946 MB / 0.6475 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4953, allocations: 1.5 kB / 0.6475 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.5012, allocations: 1.764 MB / 0.6493 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.5017, allocations: 212.5 kB / 0.6495 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.5018, allocations: 13 kB / 0.6495 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.5022, allocations: 13.91 kB / 0.6495 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5023, allocations: 48.28 kB / 0.6495 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.5024, allocations: 21.45 kB / 0.6496 GB, free: 160 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006204/0.503, allocations: 421.2 kB / 0.65 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.503, allocations: 1.156 kB / 0.65 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001327/0.5043, allocations: 299.8 kB / 0.6502 GB, free: 15.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00635/0.5107, allocations: 2.595 MB / 0.6528 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.5122, allocations: 0.6906 MB / 0.6535 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5122, allocations: 1.375 kB / 0.6535 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.513, allocations: 449.1 kB / 0.6539 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5143, allocations: 224.3 kB / 0.6541 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.5296, allocations: 7.208 MB / 0.6611 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.5303, allocations: 0.9502 MB / 0.6621 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004299/0.5307, allocations: 111.2 kB / 0.6622 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.5311, allocations: 307.3 kB / 0.6625 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5311, allocations: 0 / 0.6625 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.5799, allocations: 24.11 MB / 0.686 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.64, allocations: 2.344 kB / 0.686 GB, free: 13.26 MB / 0.5294 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches