Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.001886/0.001885, allocations: 108 kB / 15.61 MB, free: 152 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.001807/0.001808, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.638/1.638, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8151/0.8151, allocations: 93.72 MB / 384.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 82.11 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1662, allocations: 68.27 MB / 0.5193 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02969/0.1959, allocations: 22.84 MB / 0.5416 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.2106, allocations: 9.461 MB / 0.5509 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2119, allocations: 31.81 kB / 0.5509 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.2141, allocations: 413.2 kB / 0.5513 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.2178, allocations: 0.7995 MB / 0.5521 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.2196, allocations: 470.4 kB / 0.5525 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.2217, allocations: 1.166 MB / 0.5536 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.2222, allocations: 227.6 kB / 0.5539 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.2232, allocations: 477.9 kB / 0.5543 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.2238, allocations: 441.7 kB / 0.5547 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2239, allocations: 60 kB / 0.5548 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.2258, allocations: 0.5073 MB / 0.5553 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.2261, allocations: 163.2 kB / 0.5555 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000557/0.2266, allocations: 437.5 kB / 0.5559 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.2293, allocations: 1.168 MB / 0.557 GB, free: 168 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2293, allocations: 0 / 0.557 GB, free: 168 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2293, allocations: 0 / 0.557 GB, free: 168 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.2294, allocations: 0 / 0.557 GB, free: 168 kB / 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.002698/0.2321, allocations: 1.25 MB / 0.5582 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2321, allocations: 8.031 kB / 0.5582 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.2323, allocations: 110.7 kB / 0.5583 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.2326, allocations: 111.6 kB / 0.5584 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.2337, allocations: 0.6124 MB / 0.559 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.2338, allocations: 41.31 kB / 0.5591 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2339, allocations: 64 kB / 0.5591 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2351, allocations: 0.673 MB / 0.5598 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.2352, allocations: 4 kB / 0.5598 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.2352, allocations: 24 kB / 0.5598 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.2353, allocations: 16 kB / 0.5598 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2364, allocations: 0.6258 MB / 0.5605 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.2412, allocations: 3.019 MB / 0.5634 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.2426, allocations: 0.6655 MB / 0.5641 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.2431, allocations: 291.9 kB / 0.5643 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002862/0.246, allocations: 1.901 MB / 0.5662 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.2461, allocations: 43.05 kB / 0.5662 GB, free: 6.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.096e-06/0.2461, allocations: 0 / 0.5662 GB, free: 6.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01071/0.2568, allocations: 2.439 MB / 0.5686 GB, free: 3.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.2569, allocations: 89.61 kB / 0.5687 GB, free: 3.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009326/0.2578, allocations: 0.5866 MB / 0.5693 GB, free: 2.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.2579, allocations: 37.64 kB / 0.5693 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.2583, allocations: 392.2 kB / 0.5697 GB, free: 2.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.2586, allocations: 228.7 kB / 0.5699 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.2588, allocations: 106.3 kB / 0.57 GB, free: 2.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.259, allocations: 342 kB / 0.5703 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.2594, allocations: 201.2 kB / 0.5705 GB, free: 1.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.26, allocations: 302.8 kB / 0.5708 GB, free: 1.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.2609, allocations: 0.5276 MB / 0.5713 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2609, allocations: 4 kB / 0.5713 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005341/0.2663, allocations: 1.381 MB / 0.5727 GB, free: 15.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2663, allocations: 4 kB / 0.5727 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2663, allocations: 4 kB / 0.5727 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/0.2717, allocations: 0.9391 MB / 0.5736 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.2723, allocations: 99.89 kB / 0.5737 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.2758, allocations: 2.945 MB / 0.5766 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.2764, allocations: 63.62 kB / 0.5766 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.2765, allocations: 23.98 kB / 0.5767 GB, free: 11 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.0004614/0.2769, allocations: 205.6 kB / 0.5769 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.2772, allocations: 83.06 kB / 0.5769 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.2829, allocations: 1.489 MB / 0.5784 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.2829, allocations: 11.94 kB / 0.5784 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2829, allocations: 0 / 0.5784 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2829, allocations: 3.984 kB / 0.5784 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/0.2899, allocations: 2.136 MB / 0.5805 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.29, allocations: 0 / 0.5805 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.2903, allocations: 75.91 kB / 0.5806 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/0.2956, allocations: 0.9429 MB / 0.5815 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.2957, allocations: 16 kB / 0.5815 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.299, allocations: 2.945 MB / 0.5844 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2991, allocations: 0 / 0.5844 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/0.3052, allocations: 1.771 MB / 0.5861 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.3057, allocations: 207.9 kB / 0.5863 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3058, allocations: 23.84 kB / 0.5863 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3062, allocations: 12 kB / 0.5863 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3063, allocations: 44.5 kB / 0.5864 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.3064, allocations: 27.98 kB / 0.5864 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006999/0.3071, allocations: 423 kB / 0.5868 GB, free: 264 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3071, allocations: 0 / 0.5868 GB, free: 264 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.3408/0.648, allocations: 292.2 kB / 0.5871 GB, free: 69.28 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.007304/0.6553, allocations: 2.592 MB / 0.5896 GB, free: 68.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.6572, allocations: 0.716 MB / 0.5903 GB, free: 68.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6572, allocations: 1.375 kB / 0.5903 GB, free: 68.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.658, allocations: 439.5 kB / 0.5907 GB, free: 68.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.6595, allocations: 223 kB / 0.5909 GB, free: 68.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.6774, allocations: 7.528 MB / 0.5983 GB, free: 64.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.678, allocations: 0.9532 MB / 0.5992 GB, free: 63.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.6786, allocations: 112 kB / 0.5993 GB, free: 63.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.679, allocations: 306.3 kB / 0.5996 GB, free: 63.6 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.679, allocations: 4 kB / 0.5996 GB, free: 63.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06895/0.7479, allocations: 23.53 MB / 0.6226 GB, free: 54.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.24, allocations: 7.984 kB / 0.6226 GB, free: 54.34 MB / 462.1 MB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches