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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.007895/0.007903, allocations: 97.62 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.002138/0.002138, allocations: 197.5 kB / 16.68 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6794/0.6794, allocations: 89.46 MB / 380 MB, free: 10.94 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 87.86 kB / 0.5139 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 67.29 MB / 0.5796 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2885/0.4174, allocations: 22.69 MB / 0.6018 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.4278, allocations: 9.396 MB / 0.611 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008414/0.4287, allocations: 14.53 kB / 0.611 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.4298, allocations: 404.6 kB / 0.6114 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.432, allocations: 0.7463 MB / 0.6121 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.4334, allocations: 472.9 kB / 0.6126 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.4349, allocations: 1.037 MB / 0.6136 GB, free: 9.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.4353, allocations: 226.2 kB / 0.6138 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.436, allocations: 412.7 kB / 0.6142 GB, free: 8.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.4365, allocations: 412.6 kB / 0.6146 GB, free: 8.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.4366, allocations: 60.47 kB / 0.6146 GB, free: 8.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.4381, allocations: 0.5103 MB / 0.6151 GB, free: 8.535 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.4383, allocations: 149.1 kB / 0.6153 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.4387, allocations: 399.6 kB / 0.6156 GB, free: 8.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.4408, allocations: 1.102 MB / 0.6167 GB, free: 7.734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4408, allocations: 0 / 0.6167 GB, free: 7.734 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4408, allocations: 0 / 0.6167 GB, free: 7.734 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4409, allocations: 4 kB / 0.6167 GB, free: 7.73 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.002127/0.443, allocations: 1.175 MB / 0.6179 GB, free: 6.891 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.443, allocations: 9.547 kB / 0.6179 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.4432, allocations: 105.3 kB / 0.618 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4435, allocations: 100.2 kB / 0.6181 GB, free: 6.762 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.4443, allocations: 485.2 kB / 0.6185 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4443, allocations: 51.41 kB / 0.6186 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4444, allocations: 61 kB / 0.6186 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4457, allocations: 0.6723 MB / 0.6193 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4457, allocations: 1.469 kB / 0.6193 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.4458, allocations: 25.53 kB / 0.6193 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.4458, allocations: 15.5 kB / 0.6193 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.447, allocations: 0.6262 MB / 0.62 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.4512, allocations: 2.974 MB / 0.6229 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4523, allocations: 0.6754 MB / 0.6235 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.4528, allocations: 288.9 kB / 0.6238 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.4551, allocations: 1.906 MB / 0.6257 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4551, allocations: 43.11 kB / 0.6257 GB, free: 1.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.404e-06/0.4551, allocations: 0 / 0.6257 GB, free: 1.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.009607/0.4647, allocations: 2.413 MB / 0.6281 GB, free: 492 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4648, allocations: 89.62 kB / 0.6281 GB, free: 392 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.4655, allocations: 487.5 kB / 0.6286 GB, free: 160 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.4655, allocations: 36.45 kB / 0.6286 GB, free: 120 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4658, allocations: 327.8 kB / 0.629 GB, free: 15.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.466, allocations: 242.6 kB / 0.6292 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.4662, allocations: 115.3 kB / 0.6293 GB, free: 15.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4664, allocations: 381.3 kB / 0.6297 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.4668, allocations: 206.9 kB / 0.6299 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.4672, allocations: 291.8 kB / 0.6301 GB, free: 15.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.4681, allocations: 0.5333 MB / 0.6307 GB, free: 14.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4681, allocations: 0 / 0.6307 GB, free: 14.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004812/0.4729, allocations: 1.365 MB / 0.632 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4729, allocations: 5.281 kB / 0.632 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4729, allocations: 3.219 kB / 0.632 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/0.4778, allocations: 0.9376 MB / 0.6329 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.4783, allocations: 98.89 kB / 0.633 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.4809, allocations: 2.949 MB / 0.6359 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.4814, allocations: 57.7 kB / 0.6359 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4815, allocations: 26 kB / 0.636 GB, free: 11.1 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.0003345/0.4819, allocations: 195.4 kB / 0.6362 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.482, allocations: 69.08 kB / 0.6362 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.487, allocations: 1.483 MB / 0.6377 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4871, allocations: 6.812 kB / 0.6377 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4871, allocations: 1.219 kB / 0.6377 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4871, allocations: 5.109 kB / 0.6377 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/0.493, allocations: 2.11 MB / 0.6397 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.4931, allocations: 2.812 kB / 0.6397 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.4934, allocations: 73.78 kB / 0.6398 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/0.4983, allocations: 0.9232 MB / 0.6407 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.4984, allocations: 22.39 kB / 0.6407 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.5011, allocations: 2.951 MB / 0.6436 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5012, allocations: 1.094 kB / 0.6436 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005491/0.5067, allocations: 1.755 MB / 0.6453 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.5072, allocations: 201.7 kB / 0.6455 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.5073, allocations: 17.22 kB / 0.6455 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.5076, allocations: 13.16 kB / 0.6456 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.5077, allocations: 49.59 kB / 0.6456 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.5078, allocations: 21.11 kB / 0.6456 GB, free: 4.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004699/0.5083, allocations: 351.9 kB / 0.646 GB, free: 4.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5083, allocations: 0 / 0.646 GB, free: 4.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001017/0.5093, allocations: 289.9 kB / 0.6462 GB, free: 4.117 MB / 494.1 MB 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.006326/0.5156, allocations: 2.593 MB / 0.6488 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.5172, allocations: 0.6919 MB / 0.6494 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5172, allocations: 0 / 0.6494 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007818/0.518, allocations: 455.9 kB / 0.6499 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5193, allocations: 210 kB / 0.6501 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.5347, allocations: 6.786 MB / 0.6567 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.5354, allocations: 0.9106 MB / 0.6576 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004576/0.5359, allocations: 99.8 kB / 0.6577 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.5363, allocations: 251.3 kB / 0.6579 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.362e-06/0.5363, allocations: 0 / 0.6579 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/0.5922, allocations: 22.26 MB / 0.6797 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.6, allocations: 4.062 kB / 0.6797 GB, free: 5.023 MB / 0.5137 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