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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 118.1 kB / 16.42 MB, free: 6.473 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.001286/0.001286, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.673/0.673, allocations: 91.19 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001602, allocations: 75.89 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2857, allocations: 67.68 MB / 0.5836 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01353/0.2993, allocations: 17.34 MB / 0.6005 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007123/0.3064, allocations: 6.77 MB / 0.6071 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.3069, allocations: 27.81 kB / 0.6072 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.3076, allocations: 286.1 kB / 0.6074 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.309, allocations: 0.5317 MB / 0.608 GB, free: 5.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.3098, allocations: 366.6 kB / 0.6083 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009272/0.3108, allocations: 0.7854 MB / 0.6091 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.3111, allocations: 149.5 kB / 0.6092 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.3117, allocations: 346.4 kB / 0.6096 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.3121, allocations: 290.5 kB / 0.6098 GB, free: 3.191 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.3121, allocations: 40 kB / 0.6099 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009242/0.3131, allocations: 363.6 kB / 0.6102 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3132, allocations: 111.4 kB / 0.6103 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.3135, allocations: 294.2 kB / 0.6106 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3147, allocations: 0.8271 MB / 0.6114 GB, free: 1.574 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3147, allocations: 0 / 0.6114 GB, free: 1.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3147, allocations: 0 / 0.6114 GB, free: 1.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3147, allocations: 0 / 0.6114 GB, free: 1.574 MB / 462.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.001614/0.3164, allocations: 0.9696 MB / 0.6124 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3164, allocations: 8.031 kB / 0.6124 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.3166, allocations: 76.08 kB / 0.6124 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.3175, allocations: 0.4996 MB / 0.6129 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3175, allocations: 40.94 kB / 0.613 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.3176, allocations: 40 kB / 0.613 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.3183, allocations: 455.8 kB / 0.6134 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3184, allocations: 4 kB / 0.6134 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.3184, allocations: 16 kB / 0.6135 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3184, allocations: 11.98 kB / 0.6135 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.3191, allocations: 411.7 kB / 0.6139 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.3215, allocations: 2.064 MB / 0.6159 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.3222, allocations: 415.8 kB / 0.6163 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3225, allocations: 185.7 kB / 0.6165 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.3239, allocations: 1.4 MB / 0.6178 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.324, allocations: 42.83 kB / 0.6179 GB, free: 10.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.324, allocations: 0 / 0.6179 GB, free: 10.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005785/0.3298, allocations: 1.456 MB / 0.6193 GB, free: 8.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3298, allocations: 88.98 kB / 0.6194 GB, free: 8.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.3303, allocations: 467 kB / 0.6198 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3304, allocations: 33.64 kB / 0.6198 GB, free: 8.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3305, allocations: 292.3 kB / 0.6201 GB, free: 8.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.3307, allocations: 141.9 kB / 0.6203 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3308, allocations: 74.12 kB / 0.6203 GB, free: 7.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3309, allocations: 362.8 kB / 0.6207 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3311, allocations: 124.8 kB / 0.6208 GB, free: 7.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.3314, allocations: 189.8 kB / 0.621 GB, free: 7.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.3319, allocations: 327 kB / 0.6213 GB, free: 6.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3319, allocations: 0 / 0.6213 GB, free: 6.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002727/0.3347, allocations: 0.8026 MB / 0.6221 GB, free: 6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3347, allocations: 8 kB / 0.6221 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3347, allocations: 0 / 0.6221 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.3374, allocations: 497.2 kB / 0.6226 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3377, allocations: 59.91 kB / 0.6226 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.3396, allocations: 2.189 MB / 0.6247 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3398, allocations: 39.55 kB / 0.6248 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.3399, allocations: 20.06 kB / 0.6248 GB, free: 3.023 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.0002187/0.3401, allocations: 173.7 kB / 0.625 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3402, allocations: 55.34 kB / 0.625 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.3431, allocations: 0.8678 MB / 0.6259 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3432, allocations: 7.984 kB / 0.6259 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3432, allocations: 0 / 0.6259 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.3434, allocations: 164.3 kB / 0.626 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.3434, allocations: 4 kB / 0.626 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3437, allocations: 19.92 kB / 0.6261 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3438, allocations: 43.88 kB / 0.6261 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001508/0.3453, allocations: 0.6773 MB / 0.6268 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009342/0.3462, allocations: 0.7843 MB / 0.6275 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002449/0.3465, allocations: 159.9 kB / 0.6277 GB, free: 0 / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.3469, allocations: 338.8 kB / 0.628 GB, free: 15.67 MB / 494.1 MB Notification: Performance of Backend: time 3.7e-07/0.3469, allocations: 0 / 0.628 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3484, allocations: 0.6538 MB / 0.6286 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 0.002086/0.3505, allocations: 1.638 MB / 0.6302 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Templates: time 0.01752/0.368, allocations: 10.61 MB / 0.6406 GB, free: 2.777 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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