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.005545/0.005545, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001389/0.001389, allocations: 188.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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6194/0.6194, allocations: 91.2 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 79.86 kB / 0.5164 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 67.69 MB / 0.5825 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2839/0.4027, allocations: 17.32 MB / 0.5994 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.4097, allocations: 6.77 MB / 0.606 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.4106, allocations: 25.22 kB / 0.606 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.4115, allocations: 286.1 kB / 0.6063 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.4134, allocations: 0.5224 MB / 0.6068 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.4145, allocations: 365.8 kB / 0.6071 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.4157, allocations: 0.7826 MB / 0.6079 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.416, allocations: 153.8 kB / 0.6081 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.4165, allocations: 349.8 kB / 0.6084 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.4169, allocations: 300.2 kB / 0.6087 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.4169, allocations: 40 kB / 0.6087 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.4179, allocations: 362.5 kB / 0.6091 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4181, allocations: 105.7 kB / 0.6092 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.4183, allocations: 306.9 kB / 0.6094 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4195, allocations: 0.8223 MB / 0.6103 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4195, allocations: 0 / 0.6103 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4195, allocations: 0 / 0.6103 GB, free: 11.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.4195, allocations: 0 / 0.6103 GB, free: 11.09 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.001493/0.421, allocations: 0.9584 MB / 0.6112 GB, free: 10.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4211, allocations: 9.281 kB / 0.6112 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.21e-05/0.4211, allocations: 80.02 kB / 0.6113 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.4213, allocations: 82.47 kB / 0.6114 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.4222, allocations: 0.5073 MB / 0.6118 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.4222, allocations: 33.5 kB / 0.6119 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.4223, allocations: 43.72 kB / 0.6119 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.423, allocations: 452.6 kB / 0.6124 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.423, allocations: 2.625 kB / 0.6124 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4231, allocations: 17.11 kB / 0.6124 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4231, allocations: 8.438 kB / 0.6124 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.4237, allocations: 415.7 kB / 0.6128 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.4263, allocations: 2.063 MB / 0.6148 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.427, allocations: 404.9 kB / 0.6152 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.4273, allocations: 178.8 kB / 0.6153 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.4287, allocations: 1.407 MB / 0.6167 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4287, allocations: 41.17 kB / 0.6168 GB, free: 6.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.764e-06/0.4287, allocations: 4 kB / 0.6168 GB, free: 6.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005719/0.4345, allocations: 1.451 MB / 0.6182 GB, free: 5.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4345, allocations: 90.38 kB / 0.6183 GB, free: 5.637 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.4353, allocations: 465.5 kB / 0.6187 GB, free: 5.418 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4354, allocations: 34.86 kB / 0.6187 GB, free: 5.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.4356, allocations: 287 kB / 0.619 GB, free: 5.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4357, allocations: 142.8 kB / 0.6192 GB, free: 5.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.4358, allocations: 78.38 kB / 0.6192 GB, free: 4.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.436, allocations: 366.2 kB / 0.6196 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.4363, allocations: 121.6 kB / 0.6197 GB, free: 4.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4366, allocations: 186.2 kB / 0.6199 GB, free: 4.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.4373, allocations: 332.9 kB / 0.6202 GB, free: 4.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4373, allocations: 4.5 kB / 0.6202 GB, free: 4.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002772/0.44, allocations: 0.7928 MB / 0.621 GB, free: 4.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4401, allocations: 9.875 kB / 0.621 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4401, allocations: 1.406 kB / 0.621 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.4428, allocations: 0.4885 MB / 0.6215 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.443, allocations: 64.8 kB / 0.6215 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.4448, allocations: 2.198 MB / 0.6237 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.4451, allocations: 41.91 kB / 0.6237 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.4452, allocations: 20.59 kB / 0.6237 GB, free: 1.836 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.0002464/0.4454, allocations: 165.9 kB / 0.6239 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4455, allocations: 54.38 kB / 0.6239 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.4484, allocations: 0.8659 MB / 0.6248 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4484, allocations: 4.625 kB / 0.6248 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4484, allocations: 1.672 kB / 0.6248 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4484, allocations: 3.328 kB / 0.6248 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.4519, allocations: 1.361 MB / 0.6261 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4519, allocations: 9.094 kB / 0.6261 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4521, allocations: 52.62 kB / 0.6262 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.4547, allocations: 489.4 kB / 0.6266 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.4547, allocations: 21.47 kB / 0.6267 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4565, allocations: 2.202 MB / 0.6288 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4565, allocations: 1.562 kB / 0.6288 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.4596, allocations: 1.104 MB / 0.6299 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.4599, allocations: 163.7 kB / 0.63 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.46, allocations: 7.375 kB / 0.6301 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4603, allocations: 11.78 kB / 0.6301 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.4604, allocations: 28.39 kB / 0.6301 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.4605, allocations: 12.75 kB / 0.6301 GB, free: 13.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.461, allocations: 345.4 kB / 0.6304 GB, free: 13.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.461, allocations: 0 / 0.6304 GB, free: 13.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009186/0.4619, allocations: 196.8 kB / 0.6306 GB, free: 13.55 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.003662/0.4656, allocations: 1.827 MB / 0.6324 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.4666, allocations: 477.4 kB / 0.6329 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4666, allocations: 0 / 0.6329 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.4671, allocations: 315.1 kB / 0.6332 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.4681, allocations: 157 kB / 0.6333 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.4791, allocations: 5.132 MB / 0.6383 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.4796, allocations: 0.8625 MB / 0.6392 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.48, allocations: 74.45 kB / 0.6392 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4803, allocations: 206.2 kB / 0.6394 GB, free: 7.816 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4803, allocations: 0 / 0.6394 GB, free: 7.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.5328, allocations: 16.63 MB / 0.6557 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.94, allocations: 3.094 kB / 0.6557 GB, free: 12.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/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