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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00755/0.00755, allocations: 103.2 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.001991/0.001991, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6867/0.6867, allocations: 91.18 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 79.88 kB / 0.5168 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3088, allocations: 67.68 MB / 0.5829 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01843/0.3273, allocations: 22.85 MB / 0.6053 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.3381, allocations: 9.45 MB / 0.6145 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009836/0.3391, allocations: 27.81 kB / 0.6145 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3402, allocations: 409.2 kB / 0.6149 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.3424, allocations: 0.8073 MB / 0.6157 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3434, allocations: 474.4 kB / 0.6161 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3446, allocations: 1.147 MB / 0.6173 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.3449, allocations: 227.2 kB / 0.6175 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007243/0.3457, allocations: 477.9 kB / 0.6179 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.3461, allocations: 437.8 kB / 0.6184 GB, free: 9.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.3462, allocations: 60 kB / 0.6184 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3475, allocations: 0.5152 MB / 0.6189 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3477, allocations: 159.2 kB / 0.6191 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.3481, allocations: 437.5 kB / 0.6195 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.3497, allocations: 1.189 MB / 0.6206 GB, free: 7.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3497, allocations: 0 / 0.6206 GB, free: 7.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3498, allocations: 0 / 0.6206 GB, free: 7.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3498, allocations: 0 / 0.6206 GB, free: 7.383 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002025/0.3518, allocations: 1.254 MB / 0.6219 GB, free: 6.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.3519, allocations: 12.03 kB / 0.6219 GB, free: 6.066 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.3521, allocations: 111.7 kB / 0.622 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/0.3531, allocations: 0.64 MB / 0.6226 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.3531, allocations: 45.31 kB / 0.6227 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.3532, allocations: 67.94 kB / 0.6227 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3542, allocations: 0.6614 MB / 0.6234 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3543, allocations: 3.984 kB / 0.6234 GB, free: 4.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.3543, allocations: 32 kB / 0.6234 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3543, allocations: 16 kB / 0.6234 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.3553, allocations: 0.618 MB / 0.624 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.3589, allocations: 2.999 MB / 0.6269 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3599, allocations: 0.6674 MB / 0.6276 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.3604, allocations: 293.3 kB / 0.6279 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/0.3624, allocations: 1.912 MB / 0.6297 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3624, allocations: 43.12 kB / 0.6298 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.3625, allocations: 0 / 0.6298 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01003/0.3725, allocations: 2.428 MB / 0.6322 GB, free: 10.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3726, allocations: 81.67 kB / 0.6322 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.3733, allocations: 0.5941 MB / 0.6328 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3733, allocations: 37.7 kB / 0.6329 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.3736, allocations: 372.3 kB / 0.6332 GB, free: 9.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.3738, allocations: 236.7 kB / 0.6334 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3739, allocations: 118.2 kB / 0.6335 GB, free: 9.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3741, allocations: 382.8 kB / 0.6339 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3745, allocations: 209.2 kB / 0.6341 GB, free: 8.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.3749, allocations: 298.8 kB / 0.6344 GB, free: 8.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/0.3758, allocations: 0.5276 MB / 0.6349 GB, free: 7.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3758, allocations: 0 / 0.6349 GB, free: 7.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005177/0.381, allocations: 1.384 MB / 0.6363 GB, free: 6.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.381, allocations: 4.062 kB / 0.6363 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.381, allocations: 8 kB / 0.6363 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/0.3862, allocations: 0.9313 MB / 0.6372 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.3866, allocations: 95.83 kB / 0.6373 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.3892, allocations: 2.943 MB / 0.6401 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.3897, allocations: 59.28 kB / 0.6402 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.3897, allocations: 27.98 kB / 0.6402 GB, free: 2.289 MB / 494.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.000304/0.39, allocations: 201.7 kB / 0.6404 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3902, allocations: 75.12 kB / 0.6405 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005194/0.3954, allocations: 1.488 MB / 0.6419 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3954, allocations: 4 kB / 0.642 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3954, allocations: 7.938 kB / 0.642 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3954, allocations: 3.984 kB / 0.642 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/0.4016, allocations: 2.133 MB / 0.644 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.4016, allocations: 3.938 kB / 0.644 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.4019, allocations: 79.89 kB / 0.6441 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/0.4069, allocations: 0.9313 MB / 0.645 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.407, allocations: 19.98 kB / 0.6451 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.4094, allocations: 2.951 MB / 0.6479 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4094, allocations: 4.031 kB / 0.6479 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005452/0.4149, allocations: 1.768 MB / 0.6497 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.4152, allocations: 203.9 kB / 0.6499 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.4153, allocations: 19.98 kB / 0.6499 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.4157, allocations: 12 kB / 0.6499 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.4158, allocations: 48.44 kB / 0.6499 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.4158, allocations: 27.98 kB / 0.65 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004812/0.4163, allocations: 419.1 kB / 0.6504 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4163, allocations: 0 / 0.6504 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008261/0.4172, allocations: 295.4 kB / 0.6506 GB, free: 7.273 MB / 0.4981 GB 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.000532/0.4177, allocations: 390.7 kB / 0.651 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.4191, allocations: 0.6983 MB / 0.6517 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4191, allocations: 4.062 kB / 0.6517 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.4199, allocations: 441.7 kB / 0.6521 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4209, allocations: 224.1 kB / 0.6523 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4234, allocations: 1.506 MB / 0.6538 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.4239, allocations: 0.9502 MB / 0.6547 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.4242, allocations: 101.9 kB / 0.6548 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4243, allocations: 55.42 kB / 0.6549 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4244, allocations: 0 / 0.6549 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.02506/0.4494, allocations: 15.92 MB / 0.6704 GB, free: 3.09 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches