Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_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.0082/0.0082, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001941/0.001941, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7239/0.7239, allocations: 93.7 MB / 384.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 83.86 kB / 0.5199 GB, free: 1.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2938, allocations: 68.26 MB / 0.5866 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01586/0.3098, allocations: 17.33 MB / 0.6035 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008789/0.3186, allocations: 6.797 MB / 0.6102 GB, free: 2.043 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.3193, allocations: 23.81 kB / 0.6102 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.3202, allocations: 290 kB / 0.6105 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.3222, allocations: 0.5317 MB / 0.611 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.3232, allocations: 366.6 kB / 0.6113 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3244, allocations: 0.801 MB / 0.6121 GB, free: 36 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.3247, allocations: 153 kB / 0.6123 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.3253, allocations: 354.4 kB / 0.6126 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.3257, allocations: 298.5 kB / 0.6129 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.3258, allocations: 40 kB / 0.6129 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009685/0.3268, allocations: 355.7 kB / 0.6133 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.3269, allocations: 115.4 kB / 0.6134 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.3272, allocations: 298.2 kB / 0.6137 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3285, allocations: 0.8339 MB / 0.6145 GB, free: 13.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3286, allocations: 0 / 0.6145 GB, free: 13.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3286, allocations: 4 kB / 0.6145 GB, free: 13.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3286, allocations: 0 / 0.6145 GB, free: 13.61 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.001621/0.3302, allocations: 0.9843 MB / 0.6154 GB, free: 12.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3303, allocations: 15.97 kB / 0.6154 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.533e-05/0.3304, allocations: 86.7 kB / 0.6155 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3306, allocations: 76.47 kB / 0.6156 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.3315, allocations: 0.531 MB / 0.6161 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3315, allocations: 32.94 kB / 0.6162 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.3316, allocations: 44 kB / 0.6162 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.3323, allocations: 455.9 kB / 0.6166 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3323, allocations: 0 / 0.6166 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3324, allocations: 16 kB / 0.6166 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3324, allocations: 8 kB / 0.6167 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.3331, allocations: 411.7 kB / 0.617 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.3358, allocations: 2.065 MB / 0.6191 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.3365, allocations: 407.3 kB / 0.6195 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.3368, allocations: 182.3 kB / 0.6196 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.3385, allocations: 1.415 MB / 0.621 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3386, allocations: 42.83 kB / 0.621 GB, free: 6.367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.3386, allocations: 0 / 0.621 GB, free: 6.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005897/0.3445, allocations: 1.464 MB / 0.6225 GB, free: 4.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3446, allocations: 88.98 kB / 0.6226 GB, free: 4.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.3452, allocations: 482.9 kB / 0.623 GB, free: 4.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3452, allocations: 33.7 kB / 0.6231 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.3454, allocations: 300.7 kB / 0.6233 GB, free: 3.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3456, allocations: 150.7 kB / 0.6235 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3457, allocations: 70.12 kB / 0.6236 GB, free: 3.703 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3459, allocations: 366.8 kB / 0.6239 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.3462, allocations: 124.8 kB / 0.624 GB, free: 3.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.3465, allocations: 181.8 kB / 0.6242 GB, free: 3.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.347, allocations: 331 kB / 0.6245 GB, free: 2.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3471, allocations: 0 / 0.6245 GB, free: 2.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002794/0.3499, allocations: 0.7991 MB / 0.6253 GB, free: 1.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3499, allocations: 8 kB / 0.6253 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3499, allocations: 0 / 0.6253 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/0.3526, allocations: 497.2 kB / 0.6258 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.3529, allocations: 67.89 kB / 0.6258 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.3549, allocations: 2.193 MB / 0.628 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.3552, allocations: 43.7 kB / 0.628 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.3553, allocations: 20.05 kB / 0.628 GB, free: 14.88 MB / 494.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.0002561/0.3556, allocations: 161.8 kB / 0.6282 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3557, allocations: 63.62 kB / 0.6283 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.3587, allocations: 0.8671 MB / 0.6291 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3587, allocations: 11.94 kB / 0.6291 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3587, allocations: 144 / 0.6291 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.3588, allocations: 11.97 kB / 0.6291 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.3625, allocations: 1.356 MB / 0.6304 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3626, allocations: 0 / 0.6304 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.3628, allocations: 51.91 kB / 0.6305 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.3654, allocations: 493.3 kB / 0.631 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.3655, allocations: 15.98 kB / 0.631 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.3676, allocations: 2.193 MB / 0.6331 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.3676, allocations: 7.984 kB / 0.6331 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.3708, allocations: 1.108 MB / 0.6342 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.371, allocations: 168.6 kB / 0.6344 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.3711, allocations: 11.98 kB / 0.6344 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3714, allocations: 8 kB / 0.6344 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.3715, allocations: 31.7 kB / 0.6344 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.3715, allocations: 19.94 kB / 0.6344 GB, free: 8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004498/0.372, allocations: 342.9 kB / 0.6348 GB, free: 7.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.372, allocations: 0 / 0.6348 GB, free: 7.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006929/0.3727, allocations: 195.6 kB / 0.635 GB, free: 7.477 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.00382/0.3765, allocations: 1.838 MB / 0.6368 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3776, allocations: 470.9 kB / 0.6372 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/0.3776, allocations: 4 kB / 0.6372 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.3781, allocations: 310.2 kB / 0.6375 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.3791, allocations: 162.4 kB / 0.6377 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.3897, allocations: 5.177 MB / 0.6427 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.3903, allocations: 0.8629 MB / 0.6436 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002797/0.3906, allocations: 90.12 kB / 0.6436 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.3909, allocations: 207.4 kB / 0.6438 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.3909, allocations: 0 / 0.6438 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.4405, allocations: 16.5 MB / 0.66 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.51, allocations: 14.91 kB / 0.66 GB, free: 13.89 MB / 0.5137 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches