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.006234/0.006234, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001245/0.001245, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6882/0.6882, allocations: 91.2 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 79.88 kB / 0.5164 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1561, allocations: 67.7 MB / 0.5825 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.3593/0.5154, allocations: 22.84 MB / 0.6048 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5263, allocations: 9.444 MB / 0.614 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.5274, allocations: 30.22 kB / 0.614 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.5288, allocations: 413 kB / 0.6144 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.5318, allocations: 0.8014 MB / 0.6152 GB, free: 6.617 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.5335, allocations: 476.8 kB / 0.6157 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.536, allocations: 1.14 MB / 0.6168 GB, free: 5.789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.5366, allocations: 236.9 kB / 0.617 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.5379, allocations: 481.8 kB / 0.6175 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007638/0.5387, allocations: 437 kB / 0.6179 GB, free: 5.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.5388, allocations: 59.94 kB / 0.618 GB, free: 5.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.5412, allocations: 0.5063 MB / 0.6184 GB, free: 5.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.5414, allocations: 156.4 kB / 0.6186 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.5418, allocations: 435.4 kB / 0.619 GB, free: 4.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.5446, allocations: 1.201 MB / 0.6202 GB, free: 4.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5447, allocations: 0.75 kB / 0.6202 GB, free: 4.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5447, allocations: 0 / 0.6202 GB, free: 4.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.5447, allocations: 5.5 kB / 0.6202 GB, free: 4.203 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.00286/0.5476, allocations: 1.281 MB / 0.6214 GB, free: 3.297 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.5476, allocations: 9.688 kB / 0.6215 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.5478, allocations: 105.9 kB / 0.6216 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.5481, allocations: 119.4 kB / 0.6217 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.5496, allocations: 0.6465 MB / 0.6223 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.5497, allocations: 46.19 kB / 0.6223 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.5499, allocations: 61.47 kB / 0.6224 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5514, allocations: 0.6721 MB / 0.6231 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.5514, allocations: 0.9688 kB / 0.6231 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.5515, allocations: 29.75 kB / 0.6231 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.5515, allocations: 15.66 kB / 0.6231 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.5528, allocations: 0.6223 MB / 0.6237 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.5576, allocations: 3.011 MB / 0.6266 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.5589, allocations: 0.6622 MB / 0.6273 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.5594, allocations: 285.6 kB / 0.6276 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002718/0.5622, allocations: 1.912 MB / 0.6294 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.5622, allocations: 43.06 kB / 0.6295 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.735e-06/0.5622, allocations: 0 / 0.6295 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01181/0.5741, allocations: 2.436 MB / 0.6319 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.5742, allocations: 89.42 kB / 0.6319 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.5756, allocations: 0.5878 MB / 0.6325 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5757, allocations: 36.2 kB / 0.6325 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.5762, allocations: 387.5 kB / 0.6329 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.5766, allocations: 245.4 kB / 0.6332 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.5769, allocations: 116.7 kB / 0.6333 GB, free: 11.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.5772, allocations: 382.8 kB / 0.6336 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.5779, allocations: 206.1 kB / 0.6338 GB, free: 11.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/0.5787, allocations: 296.8 kB / 0.6341 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.5797, allocations: 0.526 MB / 0.6346 GB, free: 10.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.5797, allocations: 0 / 0.6346 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005378/0.5851, allocations: 1.388 MB / 0.636 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.5852, allocations: 5.562 kB / 0.636 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5852, allocations: 6.781 kB / 0.636 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/0.5905, allocations: 0.9328 MB / 0.6369 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.591, allocations: 98.83 kB / 0.637 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.5938, allocations: 2.942 MB / 0.6399 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.5945, allocations: 62 kB / 0.6399 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.5946, allocations: 26.47 kB / 0.64 GB, free: 6.879 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.0004175/0.595, allocations: 205 kB / 0.6401 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.5953, allocations: 85 kB / 0.6402 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.6007, allocations: 1.487 MB / 0.6417 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.6008, allocations: 6.875 kB / 0.6417 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6008, allocations: 5.312 kB / 0.6417 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.6008, allocations: 5.359 kB / 0.6417 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006577/0.6074, allocations: 2.137 MB / 0.6438 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6074, allocations: 1.094 kB / 0.6438 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.6078, allocations: 73.78 kB / 0.6439 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.6129, allocations: 0.9313 MB / 0.6448 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.613, allocations: 18.03 kB / 0.6448 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.6156, allocations: 2.947 MB / 0.6477 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6157, allocations: 1.312 kB / 0.6477 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/0.6216, allocations: 1.773 MB / 0.6494 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.6222, allocations: 212.6 kB / 0.6496 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.6225, allocations: 21.34 kB / 0.6496 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6231, allocations: 13.22 kB / 0.6496 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6232, allocations: 51.7 kB / 0.6497 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.6233, allocations: 22.56 kB / 0.6497 GB, free: 128 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.624, allocations: 420.5 kB / 0.6501 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6241, allocations: 1.219 kB / 0.6501 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001387/0.6254, allocations: 291.3 kB / 0.6504 GB, free: 15.8 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.006557/0.632, allocations: 2.604 MB / 0.6529 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.6336, allocations: 0.694 MB / 0.6536 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6337, allocations: 0 / 0.6536 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.6345, allocations: 450 kB / 0.654 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.636, allocations: 215.6 kB / 0.6542 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/0.6574, allocations: 7.25 MB / 0.6613 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.6585, allocations: 0.9541 MB / 0.6622 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000907/0.6594, allocations: 109.7 kB / 0.6624 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.6601, allocations: 307.3 kB / 0.6626 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of SimCode: time 1.744e-06/0.6602, allocations: 4 kB / 0.6626 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.7212, allocations: 23.76 MB / 0.6859 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.29, allocations: 0 / 0.6859 GB, free: 13.57 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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv --start-time 0 --stop-time 1000 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv","/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