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/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,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.007374/0.007374, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001929/0.001929, allocations: 194.3 kB / 16.68 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.44/1.44, 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.6648/0.6648, allocations: 89.46 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003641/0.003641, allocations: 83.86 kB / 0.5139 GB, free: 11.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.152, allocations: 67.3 MB / 0.5796 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2686/0.4206, allocations: 17.2 MB / 0.5964 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.4268, allocations: 6.73 MB / 0.603 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005524/0.4273, allocations: 11.41 kB / 0.603 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.4281, allocations: 284.5 kB / 0.6033 GB, free: 340 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.4295, allocations: 0.4953 MB / 0.6038 GB, free: 20 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.4305, allocations: 361.7 kB / 0.6041 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.4315, allocations: 0.713 MB / 0.6048 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.4318, allocations: 139.7 kB / 0.6049 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.4323, allocations: 305.9 kB / 0.6052 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.4327, allocations: 275.2 kB / 0.6055 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.4327, allocations: 39.38 kB / 0.6055 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.4337, allocations: 354.2 kB / 0.6059 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.4339, allocations: 108.7 kB / 0.606 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.4341, allocations: 272.3 kB / 0.6062 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.4354, allocations: 0.7486 MB / 0.607 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4354, allocations: 0 / 0.607 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4354, allocations: 4 kB / 0.607 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4354, allocations: 0 / 0.607 GB, free: 14.49 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.001509/0.4369, allocations: 0.8917 MB / 0.6078 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.437, allocations: 11.31 kB / 0.6079 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.673e-05/0.4371, allocations: 79.92 kB / 0.6079 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.4373, allocations: 67.95 kB / 0.608 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.4379, allocations: 390.7 kB / 0.6084 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.4379, allocations: 29.41 kB / 0.6084 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.438, allocations: 41.78 kB / 0.6084 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.4387, allocations: 466.7 kB / 0.6089 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4388, allocations: 5.016 kB / 0.6089 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.4388, allocations: 17.66 kB / 0.6089 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.4388, allocations: 8.375 kB / 0.6089 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.4395, allocations: 411.2 kB / 0.6093 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.442, allocations: 2.028 MB / 0.6113 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.4426, allocations: 418.9 kB / 0.6117 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.4429, allocations: 183.9 kB / 0.6119 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.4445, allocations: 1.407 MB / 0.6132 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.4445, allocations: 41.02 kB / 0.6133 GB, free: 9.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.4445, allocations: 0 / 0.6133 GB, free: 9.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005808/0.4503, allocations: 1.442 MB / 0.6147 GB, free: 9.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4504, allocations: 90.52 kB / 0.6148 GB, free: 9.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.4509, allocations: 379 kB / 0.6151 GB, free: 8.922 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.4509, allocations: 31.89 kB / 0.6152 GB, free: 8.887 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.4511, allocations: 250.5 kB / 0.6154 GB, free: 8.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4513, allocations: 151.4 kB / 0.6155 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4514, allocations: 67.66 kB / 0.6156 GB, free: 8.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4516, allocations: 363.9 kB / 0.616 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4518, allocations: 123.7 kB / 0.6161 GB, free: 8.137 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.4521, allocations: 184.9 kB / 0.6162 GB, free: 8.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.4527, allocations: 331.5 kB / 0.6166 GB, free: 7.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4527, allocations: 0.5938 kB / 0.6166 GB, free: 7.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002776/0.4554, allocations: 0.7887 MB / 0.6173 GB, free: 7.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4555, allocations: 14.16 kB / 0.6173 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4555, allocations: 1.375 kB / 0.6173 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.4582, allocations: 490.6 kB / 0.6178 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.4585, allocations: 68.73 kB / 0.6179 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4606, allocations: 2.202 MB / 0.62 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4609, allocations: 35.33 kB / 0.6201 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.461, allocations: 15.78 kB / 0.6201 GB, free: 5.375 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.0002302/0.4612, allocations: 167.2 kB / 0.6202 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4613, allocations: 53.55 kB / 0.6203 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.4641, allocations: 0.8524 MB / 0.6211 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4642, allocations: 4.719 kB / 0.6211 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4642, allocations: 1.312 kB / 0.6211 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4642, allocations: 3.438 kB / 0.6211 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.4677, allocations: 1.349 MB / 0.6224 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4677, allocations: 2.438 kB / 0.6225 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4679, allocations: 48.73 kB / 0.6225 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/0.4704, allocations: 496.5 kB / 0.623 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.4705, allocations: 13.75 kB / 0.623 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.4725, allocations: 2.189 MB / 0.6251 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4725, allocations: 1.062 kB / 0.6251 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.4756, allocations: 1.104 MB / 0.6262 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.4758, allocations: 156.7 kB / 0.6264 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.4759, allocations: 14.81 kB / 0.6264 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.4761, allocations: 14.62 kB / 0.6264 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.4762, allocations: 30.84 kB / 0.6264 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.4763, allocations: 14.75 kB / 0.6264 GB, free: 1.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.4767, allocations: 277.2 kB / 0.6267 GB, free: 1.176 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4767, allocations: 0 / 0.6267 GB, free: 1.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007102/0.4774, allocations: 193.8 kB / 0.6269 GB, free: 1.121 MB / 478.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.003646/0.481, allocations: 1.821 MB / 0.6287 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.4821, allocations: 468.2 kB / 0.6291 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4821, allocations: 0 / 0.6291 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.4826, allocations: 320.5 kB / 0.6294 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.4836, allocations: 153.4 kB / 0.6295 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/0.493, allocations: 4.771 MB / 0.6342 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.4935, allocations: 0.8343 MB / 0.635 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.4938, allocations: 66.11 kB / 0.6351 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.4941, allocations: 167.1 kB / 0.6352 GB, free: 12.01 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4941, allocations: 0 / 0.6352 GB, free: 12.01 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.5397, allocations: 15.25 MB / 0.6501 GB, free: 3.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.28, allocations: 11.69 kB / 0.6501 GB, free: 3.477 MB / 494.1 MB (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