Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.001931/0.001931, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.599/1.599, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7955/0.7955, allocations: 93.71 MB / 384.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 75.88 kB / 0.5199 GB, free: 6.328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1673, allocations: 68.27 MB / 0.5866 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.37/0.5374, allocations: 22.85 MB / 0.6089 GB, free: 9.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.5502, allocations: 9.463 MB / 0.6181 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009413/0.5512, allocations: 35.66 kB / 0.6182 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.5528, allocations: 406.7 kB / 0.6186 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.5558, allocations: 0.8005 MB / 0.6194 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.5574, allocations: 478.6 kB / 0.6198 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.5592, allocations: 1.155 MB / 0.6209 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.5596, allocations: 225.3 kB / 0.6212 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5606, allocations: 480.8 kB / 0.6216 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.5612, allocations: 440.7 kB / 0.622 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.5614, allocations: 58.69 kB / 0.6221 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.5631, allocations: 0.5048 MB / 0.6226 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.5633, allocations: 167.9 kB / 0.6227 GB, free: 408 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.5639, allocations: 432.6 kB / 0.6232 GB, free: 140 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.5667, allocations: 1.211 MB / 0.6243 GB, free: 15.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5668, allocations: 1.188 kB / 0.6243 GB, free: 15.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5668, allocations: 0.5312 kB / 0.6243 GB, free: 15.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.5668, allocations: 3.938 kB / 0.6243 GB, free: 15.61 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00304/0.5698, allocations: 1.296 MB / 0.6256 GB, free: 14.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5699, allocations: 9.812 kB / 0.6256 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/0.5702, allocations: 107.1 kB / 0.6257 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.5706, allocations: 109.8 kB / 0.6258 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.572, allocations: 0.6592 MB / 0.6265 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.572, allocations: 45.81 kB / 0.6265 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5722, allocations: 65.02 kB / 0.6266 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5736, allocations: 0.6735 MB / 0.6272 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.5736, allocations: 0 / 0.6272 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.5737, allocations: 25.73 kB / 0.6273 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.5737, allocations: 16.06 kB / 0.6273 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.575, allocations: 0.6297 MB / 0.6279 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.5799, allocations: 3.002 MB / 0.6308 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5812, allocations: 0.6737 MB / 0.6315 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.5817, allocations: 286.1 kB / 0.6317 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.5847, allocations: 1.902 MB / 0.6336 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.5848, allocations: 42.84 kB / 0.6336 GB, free: 9.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.5848, allocations: 0 / 0.6336 GB, free: 9.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01104/0.5959, allocations: 2.431 MB / 0.636 GB, free: 7.742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5961, allocations: 96.14 kB / 0.6361 GB, free: 7.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5971, allocations: 0.5937 MB / 0.6367 GB, free: 7.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5972, allocations: 39.23 kB / 0.6367 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.5977, allocations: 389.6 kB / 0.6371 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.598, allocations: 243.9 kB / 0.6373 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.5982, allocations: 112.2 kB / 0.6374 GB, free: 6.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.5985, allocations: 328.2 kB / 0.6378 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.5989, allocations: 201.9 kB / 0.6379 GB, free: 6.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.5996, allocations: 299.9 kB / 0.6382 GB, free: 6.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.6006, allocations: 0.5345 MB / 0.6388 GB, free: 5.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6007, allocations: 1.469 kB / 0.6388 GB, free: 5.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005748/0.6064, allocations: 1.392 MB / 0.6401 GB, free: 5.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6065, allocations: 7.406 kB / 0.6401 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6065, allocations: 4.688 kB / 0.6401 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005472/0.612, allocations: 0.9315 MB / 0.641 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.6124, allocations: 98.64 kB / 0.6411 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.6156, allocations: 2.943 MB / 0.644 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.6163, allocations: 70.5 kB / 0.6441 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.6164, allocations: 21.75 kB / 0.6441 GB, free: 1.801 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.0004358/0.6168, allocations: 203.3 kB / 0.6443 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.617, allocations: 80.61 kB / 0.6444 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.6228, allocations: 1.491 MB / 0.6458 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6229, allocations: 10.78 kB / 0.6458 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6229, allocations: 2.406 kB / 0.6458 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.6229, allocations: 3.984 kB / 0.6458 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.6299, allocations: 2.147 MB / 0.6479 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.63, allocations: 5 kB / 0.6479 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.6304, allocations: 73.84 kB / 0.648 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005609/0.636, allocations: 0.932 MB / 0.6489 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.6362, allocations: 18 kB / 0.6489 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.6394, allocations: 2.954 MB / 0.6518 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6395, allocations: 1.5 kB / 0.6518 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.6458, allocations: 1.777 MB / 0.6536 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.6463, allocations: 212.7 kB / 0.6538 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6465, allocations: 12.91 kB / 0.6538 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.6469, allocations: 17.33 kB / 0.6538 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6471, allocations: 50.31 kB / 0.6538 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.6472, allocations: 16.75 kB / 0.6538 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005979/0.6478, allocations: 428.5 kB / 0.6543 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6478, allocations: 0 / 0.6543 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001329/0.6491, allocations: 299.7 kB / 0.6545 GB, free: 10.71 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.007095/0.6562, allocations: 2.596 MB / 0.6571 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.658, allocations: 0.699 MB / 0.6578 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.658, allocations: 1.375 kB / 0.6578 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.6588, allocations: 445.6 kB / 0.6582 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6603, allocations: 225.9 kB / 0.6584 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.6793, allocations: 7.292 MB / 0.6655 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6803, allocations: 0.9503 MB / 0.6665 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005996/0.681, allocations: 111.6 kB / 0.6666 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.6815, allocations: 311.3 kB / 0.6669 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/0.6815, allocations: 0 / 0.6669 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07032/0.7518, allocations: 23.86 MB / 0.6902 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/17.8, allocations: 15.22 kB / 0.6902 GB, free: 7.746 MB / 0.5294 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches