Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",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.006076/0.006076, allocations: 101 kB / 15.73 MB, free: 6.059 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.001429/0.001429, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8403/0.8403, allocations: 93.7 MB / 384.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 95.8 kB / 0.5199 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3503, allocations: 68.25 MB / 0.5866 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01815/0.3685, allocations: 17.33 MB / 0.6035 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009122/0.3777, allocations: 6.785 MB / 0.6102 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.3785, allocations: 27.81 kB / 0.6102 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.3793, allocations: 294 kB / 0.6105 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.3811, allocations: 0.5317 MB / 0.611 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3822, allocations: 362.7 kB / 0.6113 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3834, allocations: 0.8087 MB / 0.6121 GB, free: 4 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.3838, allocations: 149 kB / 0.6123 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.3845, allocations: 358.4 kB / 0.6126 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.3849, allocations: 290.5 kB / 0.6129 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.385, allocations: 40 kB / 0.6129 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3861, allocations: 359.6 kB / 0.6133 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3863, allocations: 111.4 kB / 0.6134 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3866, allocations: 302.2 kB / 0.6136 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3881, allocations: 0.8339 MB / 0.6145 GB, free: 13.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3881, allocations: 3.938 kB / 0.6145 GB, free: 13.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3881, allocations: 4 kB / 0.6145 GB, free: 13.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3881, allocations: 0 / 0.6145 GB, free: 13.58 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001763/0.3899, allocations: 0.9853 MB / 0.6154 GB, free: 12.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3899, allocations: 12.03 kB / 0.6154 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.39, allocations: 86.7 kB / 0.6155 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3902, allocations: 76.47 kB / 0.6156 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.3911, allocations: 0.5232 MB / 0.6161 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.3912, allocations: 37 kB / 0.6161 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3913, allocations: 40 kB / 0.6162 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.3921, allocations: 455.8 kB / 0.6166 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3922, allocations: 0 / 0.6166 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.3922, allocations: 20 kB / 0.6166 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3922, allocations: 12 kB / 0.6166 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.3931, allocations: 415.7 kB / 0.617 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.3961, allocations: 2.057 MB / 0.6191 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.397, allocations: 411.3 kB / 0.6194 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3973, allocations: 189.2 kB / 0.6196 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.3991, allocations: 1.415 MB / 0.621 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3991, allocations: 42.88 kB / 0.6211 GB, free: 6.336 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/0.3991, allocations: 3.938 kB / 0.6211 GB, free: 6.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.006187/0.4053, allocations: 1.456 MB / 0.6225 GB, free: 4.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.4054, allocations: 85.05 kB / 0.6226 GB, free: 4.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.406, allocations: 482.9 kB / 0.623 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.4061, allocations: 33.7 kB / 0.623 GB, free: 4.203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.4063, allocations: 292.7 kB / 0.6233 GB, free: 3.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4064, allocations: 154.7 kB / 0.6235 GB, free: 3.758 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.4067, allocations: 74.12 kB / 0.6235 GB, free: 3.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4069, allocations: 362.8 kB / 0.6239 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.4071, allocations: 124.8 kB / 0.624 GB, free: 3.195 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.4074, allocations: 189.8 kB / 0.6242 GB, free: 2.988 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.408, allocations: 323 kB / 0.6245 GB, free: 2.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.408, allocations: 0 / 0.6245 GB, free: 2.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002939/0.411, allocations: 0.8031 MB / 0.6253 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.411, allocations: 7.938 kB / 0.6253 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.411, allocations: 4 kB / 0.6253 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.4138, allocations: 497.2 kB / 0.6258 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.4141, allocations: 67.91 kB / 0.6258 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.4163, allocations: 2.197 MB / 0.628 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.4168, allocations: 39.72 kB / 0.628 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.4168, allocations: 20 kB / 0.628 GB, free: 14.85 MB / 494.1 MB 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.0002551/0.4171, allocations: 165.8 kB / 0.6282 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4172, allocations: 55.62 kB / 0.6282 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.4203, allocations: 0.8754 MB / 0.6291 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4203, allocations: 4 kB / 0.6291 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4203, allocations: 0 / 0.6291 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.4203, allocations: 3.984 kB / 0.6291 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.4241, allocations: 1.368 MB / 0.6304 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4242, allocations: 4 kB / 0.6305 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4244, allocations: 40.05 kB / 0.6305 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/0.4271, allocations: 0.5012 MB / 0.631 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.4272, allocations: 8 kB / 0.631 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.4293, allocations: 2.193 MB / 0.6331 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4293, allocations: 4.031 kB / 0.6331 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/0.4326, allocations: 1.108 MB / 0.6342 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.4329, allocations: 168.6 kB / 0.6344 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.433, allocations: 16 kB / 0.6344 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4332, allocations: 8 kB / 0.6344 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4333, allocations: 31.7 kB / 0.6344 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.4334, allocations: 15.94 kB / 0.6344 GB, free: 7.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004763/0.4339, allocations: 346.8 kB / 0.6348 GB, free: 7.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4339, allocations: 4.062 kB / 0.6348 GB, free: 7.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008368/0.4347, allocations: 195.6 kB / 0.635 GB, free: 7.438 MB / 494.1 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 (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.003939/0.4387, allocations: 1.822 MB / 0.6367 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009951/0.4397, allocations: 478.9 kB / 0.6372 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4397, allocations: 0 / 0.6372 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.4402, allocations: 318.2 kB / 0.6375 GB, free: 4.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4413, allocations: 155.2 kB / 0.6377 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4525, allocations: 5.187 MB / 0.6427 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.4531, allocations: 0.8629 MB / 0.6436 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004296/0.4536, allocations: 77.2 kB / 0.6436 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.4539, allocations: 211.4 kB / 0.6438 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.4539, allocations: 0 / 0.6438 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05717/0.511, allocations: 16.5 MB / 0.66 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.01, allocations: 9.375 kB / 0.66 GB, free: 13.86 MB / 0.5137 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_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.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches