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-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_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.002041/0.002041, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003142/0.003142, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7899/0.7899, allocations: 91.19 MB / 381.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 76.69 kB / 460.4 MB, free: 23.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1611, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02863/0.1898, allocations: 22.83 MB / 0.538 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.2024, allocations: 9.446 MB / 0.5472 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.2039, allocations: 31.81 kB / 0.5473 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.2051, allocations: 413.2 kB / 0.5477 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.2079, allocations: 0.7878 MB / 0.5484 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2095, allocations: 474.3 kB / 0.5489 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.2112, allocations: 1.131 MB / 0.55 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.2116, allocations: 235.6 kB / 0.5502 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000889/0.2125, allocations: 466 kB / 0.5507 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.213, allocations: 437.8 kB / 0.5511 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2131, allocations: 63.94 kB / 0.5511 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2148, allocations: 0.5112 MB / 0.5516 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.215, allocations: 163.2 kB / 0.5518 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.2155, allocations: 425.6 kB / 0.5522 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.2176, allocations: 1.172 MB / 0.5533 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2176, allocations: 0 / 0.5533 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2176, allocations: 0 / 0.5533 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.2177, allocations: 4 kB / 0.5533 GB, free: 3.422 MB / 430.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.002362/0.22, allocations: 1.252 MB / 0.5546 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.2201, allocations: 8.031 kB / 0.5546 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2202, allocations: 102.7 kB / 0.5547 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.2205, allocations: 111.7 kB / 0.5548 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.2214, allocations: 0.5969 MB / 0.5554 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.2214, allocations: 45.31 kB / 0.5554 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.2215, allocations: 63.91 kB / 0.5555 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2226, allocations: 0.6769 MB / 0.5561 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.2226, allocations: 0 / 0.5561 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.2227, allocations: 24 kB / 0.5562 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.2227, allocations: 16 kB / 0.5562 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2238, allocations: 0.6219 MB / 0.5568 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.2278, allocations: 3.023 MB / 0.5597 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.229, allocations: 0.6694 MB / 0.5604 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.2295, allocations: 292.3 kB / 0.5607 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002452/0.2319, allocations: 1.901 MB / 0.5625 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.232, allocations: 43.06 kB / 0.5626 GB, free: 9.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.916e-06/0.232, allocations: 0 / 0.5626 GB, free: 9.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.0107/0.2427, allocations: 2.428 MB / 0.5649 GB, free: 6.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.2428, allocations: 85.61 kB / 0.565 GB, free: 6.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.2437, allocations: 0.5864 MB / 0.5656 GB, free: 6.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.2437, allocations: 33.7 kB / 0.5656 GB, free: 6.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.2441, allocations: 388.3 kB / 0.566 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.2443, allocations: 220.8 kB / 0.5662 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.2445, allocations: 114.2 kB / 0.5663 GB, free: 5.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2447, allocations: 390.8 kB / 0.5667 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.2451, allocations: 205.2 kB / 0.5669 GB, free: 4.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.2456, allocations: 306.8 kB / 0.5672 GB, free: 4.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.2465, allocations: 0.5315 MB / 0.5677 GB, free: 3.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2465, allocations: 3.938 kB / 0.5677 GB, free: 3.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005806/0.2523, allocations: 1.377 MB / 0.569 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.2524, allocations: 8.062 kB / 0.569 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2524, allocations: 4 kB / 0.569 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00543/0.2578, allocations: 0.9351 MB / 0.57 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.2584, allocations: 103.8 kB / 0.5701 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.2617, allocations: 2.944 MB / 0.5729 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.2624, allocations: 55.44 kB / 0.573 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.2626, allocations: 23.98 kB / 0.573 GB, free: 14.26 MB / 462.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.0005141/0.2631, allocations: 205.6 kB / 0.5732 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.2634, allocations: 78.97 kB / 0.5733 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/0.2691, allocations: 1.489 MB / 0.5747 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.2692, allocations: 7.938 kB / 0.5747 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.2692, allocations: 7.938 kB / 0.5747 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.2692, allocations: 3.984 kB / 0.5747 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007393/0.2766, allocations: 2.124 MB / 0.5768 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2767, allocations: 0 / 0.5768 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.277, allocations: 79.95 kB / 0.5769 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/0.2826, allocations: 0.9351 MB / 0.5778 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.2827, allocations: 19.98 kB / 0.5778 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.2859, allocations: 2.956 MB / 0.5807 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.286, allocations: 4.031 kB / 0.5807 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.2921, allocations: 1.759 MB / 0.5824 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.2927, allocations: 204 kB / 0.5826 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.2929, allocations: 23.84 kB / 0.5827 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.2934, allocations: 12 kB / 0.5827 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.2935, allocations: 44.5 kB / 0.5827 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.2936, allocations: 23.98 kB / 0.5827 GB, free: 3.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.2942, allocations: 419.1 kB / 0.5831 GB, free: 3.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2942, allocations: 0 / 0.5831 GB, free: 3.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001176/0.2954, allocations: 291.6 kB / 0.5834 GB, free: 3.242 MB / 462.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.006907/0.3023, allocations: 2.604 MB / 0.586 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1684/0.4707, allocations: 0.7161 MB / 0.5867 GB, free: 72.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4707, allocations: 0 / 0.5867 GB, free: 72.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007948/0.4715, allocations: 446.3 kB / 0.5871 GB, free: 72.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4727, allocations: 213.8 kB / 0.5873 GB, free: 72.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.4866, allocations: 7.473 MB / 0.5946 GB, free: 69.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4869, allocations: 0.9507 MB / 0.5955 GB, free: 68.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.4872, allocations: 108.5 kB / 0.5956 GB, free: 68.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.4875, allocations: 302.6 kB / 0.5959 GB, free: 68.56 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4875, allocations: 0 / 0.5959 GB, free: 68.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.553/2.04, allocations: 23.42 MB / 0.6188 GB, free: 59.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/18.64, allocations: 13.59 kB / 0.6188 GB, free: 59.45 MB / 462.1 MB (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