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.00486/0.00486, allocations: 100.2 kB / 15.73 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.00122/0.00122, allocations: 194.1 kB / 16.68 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6553/0.6553, allocations: 89.48 MB / 380 MB, free: 10.92 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.86 kB / 0.5139 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1202, allocations: 67.31 MB / 0.5797 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2631/0.3834, allocations: 22.68 MB / 0.6018 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3934, allocations: 9.396 MB / 0.611 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.3944, allocations: 17.34 kB / 0.611 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3955, allocations: 403.1 kB / 0.6114 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.3979, allocations: 0.7431 MB / 0.6121 GB, free: 9.941 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3991, allocations: 475.6 kB / 0.6126 GB, free: 9.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.4004, allocations: 1.036 MB / 0.6136 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.4007, allocations: 232.6 kB / 0.6138 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.4013, allocations: 411.6 kB / 0.6142 GB, free: 8.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.4018, allocations: 409 kB / 0.6146 GB, free: 8.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.4019, allocations: 64.59 kB / 0.6146 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.4034, allocations: 0.513 MB / 0.6151 GB, free: 8.516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.4035, allocations: 152.5 kB / 0.6153 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.4039, allocations: 400.5 kB / 0.6157 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.4058, allocations: 1.098 MB / 0.6167 GB, free: 7.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4058, allocations: 0 / 0.6167 GB, free: 7.715 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4058, allocations: 0 / 0.6167 GB, free: 7.715 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4059, allocations: 1.219 kB / 0.6167 GB, free: 7.715 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.002119/0.408, allocations: 1.174 MB / 0.6179 GB, free: 6.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.408, allocations: 9.406 kB / 0.6179 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.4082, allocations: 110 kB / 0.618 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.4084, allocations: 95.23 kB / 0.6181 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.4092, allocations: 485.4 kB / 0.6186 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.4092, allocations: 47.03 kB / 0.6186 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-05/0.4093, allocations: 65.69 kB / 0.6187 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4105, allocations: 0.671 MB / 0.6193 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.4105, allocations: 1.094 kB / 0.6193 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.4106, allocations: 26.28 kB / 0.6193 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.4106, allocations: 15.41 kB / 0.6194 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4118, allocations: 0.6259 MB / 0.62 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.4158, allocations: 2.967 MB / 0.6229 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4169, allocations: 0.6789 MB / 0.6235 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.4174, allocations: 289.7 kB / 0.6238 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/0.4197, allocations: 1.897 MB / 0.6257 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4197, allocations: 55.48 kB / 0.6257 GB, free: 1.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.4198, allocations: 0 / 0.6257 GB, free: 1.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.009725/0.4295, allocations: 2.407 MB / 0.6281 GB, free: 480 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.4296, allocations: 84.55 kB / 0.6281 GB, free: 384 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.4302, allocations: 486.6 kB / 0.6286 GB, free: 152 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.4302, allocations: 40.64 kB / 0.6286 GB, free: 108 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4305, allocations: 332.7 kB / 0.629 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.4307, allocations: 246.7 kB / 0.6292 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4309, allocations: 114.1 kB / 0.6293 GB, free: 15.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4311, allocations: 374.7 kB / 0.6297 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.4314, allocations: 205.2 kB / 0.6299 GB, free: 15.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.4319, allocations: 301.8 kB / 0.6302 GB, free: 14.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.4327, allocations: 0.5264 MB / 0.6307 GB, free: 14.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4327, allocations: 5.219 kB / 0.6307 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004854/0.4376, allocations: 1.369 MB / 0.632 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4376, allocations: 5.75 kB / 0.632 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4376, allocations: 3.344 kB / 0.632 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004909/0.4426, allocations: 0.9352 MB / 0.6329 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.443, allocations: 98.67 kB / 0.633 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.4456, allocations: 2.942 MB / 0.6359 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.4461, allocations: 66.22 kB / 0.636 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4462, allocations: 21.34 kB / 0.636 GB, free: 11.07 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.0003153/0.4465, allocations: 194.8 kB / 0.6362 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4467, allocations: 70.2 kB / 0.6362 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/0.4517, allocations: 1.474 MB / 0.6377 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4518, allocations: 15.17 kB / 0.6377 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4518, allocations: 1.312 kB / 0.6377 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4518, allocations: 0 / 0.6377 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/0.4577, allocations: 2.104 MB / 0.6397 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4577, allocations: 5.312 kB / 0.6397 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.458, allocations: 73.66 kB / 0.6398 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004852/0.4629, allocations: 0.9345 MB / 0.6407 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.463, allocations: 13.78 kB / 0.6407 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.4656, allocations: 2.959 MB / 0.6436 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4656, allocations: 1.25 kB / 0.6436 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.471, allocations: 1.751 MB / 0.6453 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.4714, allocations: 201.3 kB / 0.6455 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.4715, allocations: 16.5 kB / 0.6456 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.4718, allocations: 17.48 kB / 0.6456 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4719, allocations: 44.84 kB / 0.6456 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.472, allocations: 17.75 kB / 0.6456 GB, free: 4.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.4724, allocations: 346.7 kB / 0.646 GB, free: 4.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4724, allocations: 1.031 kB / 0.646 GB, free: 4.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009667/0.4734, allocations: 289.2 kB / 0.6462 GB, free: 4.094 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.006123/0.4795, allocations: 2.601 MB / 0.6488 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4809, allocations: 0.7 MB / 0.6495 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.481, allocations: 0 / 0.6495 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.4817, allocations: 449.1 kB / 0.6499 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4829, allocations: 203.5 kB / 0.6501 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.4978, allocations: 6.786 MB / 0.6567 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.4984, allocations: 0.9184 MB / 0.6576 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003949/0.4988, allocations: 92.16 kB / 0.6577 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4991, allocations: 251.3 kB / 0.6579 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4991, allocations: 4 kB / 0.6579 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/0.5559, allocations: 22.27 MB / 0.6797 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.54, allocations: 5.312 kB / 0.6797 GB, free: 4.984 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/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