Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_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.008055/0.008055, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001864/0.001864, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6825/0.6825, allocations: 91.19 MB / 381.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 79.88 kB / 0.5164 GB, free: 9.492 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1537, allocations: 67.69 MB / 0.5825 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.3454/0.4992, allocations: 17.33 MB / 0.5994 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.5063, allocations: 6.766 MB / 0.606 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.507, allocations: 19.81 kB / 0.606 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008624/0.5079, allocations: 288.4 kB / 0.6063 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5096, allocations: 0.5359 MB / 0.6068 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.5106, allocations: 371.8 kB / 0.6072 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.5116, allocations: 0.7871 MB / 0.6079 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.5119, allocations: 143.8 kB / 0.6081 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.5125, allocations: 353.4 kB / 0.6084 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.5128, allocations: 297.5 kB / 0.6087 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.5129, allocations: 38.34 kB / 0.6087 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.514, allocations: 354.6 kB / 0.6091 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.5142, allocations: 113.5 kB / 0.6092 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.5144, allocations: 297.5 kB / 0.6095 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.5159, allocations: 0.8327 MB / 0.6103 GB, free: 11.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5159, allocations: 0 / 0.6103 GB, free: 11.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.516, allocations: 2.688 kB / 0.6103 GB, free: 11.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.516, allocations: 0 / 0.6103 GB, free: 11.27 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.001739/0.5177, allocations: 0.9782 MB / 0.6112 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5178, allocations: 10.64 kB / 0.6112 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.443e-05/0.5179, allocations: 81.77 kB / 0.6113 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.5181, allocations: 79.3 kB / 0.6114 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.5191, allocations: 0.5225 MB / 0.6119 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.5191, allocations: 32.58 kB / 0.6119 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.5192, allocations: 39.28 kB / 0.612 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.52, allocations: 460.6 kB / 0.6124 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.5201, allocations: 0 / 0.6124 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.5201, allocations: 16.95 kB / 0.6124 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5201, allocations: 12.06 kB / 0.6124 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.5208, allocations: 410.3 kB / 0.6128 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.5237, allocations: 2.059 MB / 0.6148 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.5245, allocations: 408.9 kB / 0.6152 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.5248, allocations: 183.2 kB / 0.6154 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.5264, allocations: 1.412 MB / 0.6168 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5264, allocations: 43.8 kB / 0.6168 GB, free: 6.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.043e-06/0.5264, allocations: 0 / 0.6168 GB, free: 6.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.006132/0.5326, allocations: 1.454 MB / 0.6183 GB, free: 5.871 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.5327, allocations: 90.36 kB / 0.6183 GB, free: 5.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.5335, allocations: 465.2 kB / 0.6188 GB, free: 5.551 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.5336, allocations: 39.45 kB / 0.6188 GB, free: 5.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.5339, allocations: 287.8 kB / 0.6191 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.534, allocations: 150.8 kB / 0.6192 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5342, allocations: 71.16 kB / 0.6193 GB, free: 5.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5344, allocations: 368.1 kB / 0.6197 GB, free: 4.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.5347, allocations: 128.4 kB / 0.6198 GB, free: 4.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.535, allocations: 184.4 kB / 0.62 GB, free: 4.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.5357, allocations: 333.1 kB / 0.6203 GB, free: 4.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5357, allocations: 0.7188 kB / 0.6203 GB, free: 4.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002939/0.5387, allocations: 0.7958 MB / 0.621 GB, free: 4.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5387, allocations: 5.875 kB / 0.6211 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5387, allocations: 5.531 kB / 0.6211 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.5415, allocations: 490.9 kB / 0.6215 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.5418, allocations: 69.08 kB / 0.6216 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.5438, allocations: 2.195 MB / 0.6237 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.5442, allocations: 39.19 kB / 0.6238 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.5443, allocations: 20.98 kB / 0.6238 GB, free: 1.961 MB / 478.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.0003045/0.5446, allocations: 169.5 kB / 0.624 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5447, allocations: 58.31 kB / 0.624 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.5478, allocations: 0.8627 MB / 0.6249 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5478, allocations: 7.594 kB / 0.6249 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5478, allocations: 3.156 kB / 0.6249 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5478, allocations: 2.016 kB / 0.6249 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.5517, allocations: 1.362 MB / 0.6262 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5517, allocations: 1.344 kB / 0.6262 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.5519, allocations: 52.44 kB / 0.6262 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.5546, allocations: 496.6 kB / 0.6267 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.5547, allocations: 10.41 kB / 0.6267 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.5566, allocations: 2.21 MB / 0.6289 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5566, allocations: 1.375 kB / 0.6289 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.5598, allocations: 1.111 MB / 0.63 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.5601, allocations: 165.9 kB / 0.6301 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.5602, allocations: 6.812 kB / 0.6301 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.5605, allocations: 19.27 kB / 0.6302 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.5606, allocations: 27.8 kB / 0.6302 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5606, allocations: 13.44 kB / 0.6302 GB, free: 13.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.5611, allocations: 343.3 kB / 0.6305 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5611, allocations: 0 / 0.6305 GB, free: 13.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000791/0.5619, allocations: 194.4 kB / 0.6307 GB, free: 13.66 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.00376/0.5656, allocations: 1.832 MB / 0.6325 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.5667, allocations: 477.5 kB / 0.633 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5668, allocations: 320 / 0.633 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.5673, allocations: 311.6 kB / 0.6333 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.5683, allocations: 166.2 kB / 0.6334 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5788, allocations: 5.139 MB / 0.6384 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.5793, allocations: 0.8631 MB / 0.6393 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.5797, allocations: 79.47 kB / 0.6393 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.5799, allocations: 208.3 kB / 0.6395 GB, free: 7.867 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.58, allocations: 4 kB / 0.6396 GB, free: 7.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.6212, allocations: 16.39 MB / 0.6556 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.63, allocations: 7.938 kB / 0.6556 GB, free: 12.97 MB / 0.4981 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches