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.008984/0.008984, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.00193/0.00193, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6219/0.6219, allocations: 91.2 MB / 381.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 75.88 kB / 0.5164 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1248, allocations: 67.7 MB / 0.5825 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.285/0.4099, allocations: 22.83 MB / 0.6048 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.42, allocations: 9.452 MB / 0.614 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4211, allocations: 29.69 kB / 0.614 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4223, allocations: 413 kB / 0.6144 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.4248, allocations: 0.7854 MB / 0.6152 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4261, allocations: 476.5 kB / 0.6157 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.4275, allocations: 1.137 MB / 0.6168 GB, free: 5.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.4279, allocations: 236.7 kB / 0.617 GB, free: 5.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/0.4289, allocations: 482.5 kB / 0.6175 GB, free: 5.477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/0.4295, allocations: 440.5 kB / 0.6179 GB, free: 5.258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.4296, allocations: 60.19 kB / 0.6179 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.4315, allocations: 0.5042 MB / 0.6184 GB, free: 5.109 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.4317, allocations: 156 kB / 0.6186 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.4321, allocations: 434.5 kB / 0.619 GB, free: 4.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.4341, allocations: 1.194 MB / 0.6201 GB, free: 4.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4342, allocations: 0.7969 kB / 0.6202 GB, free: 4.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4342, allocations: 1.219 kB / 0.6202 GB, free: 4.227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.4342, allocations: 0 / 0.6202 GB, free: 4.227 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.00267/0.4369, allocations: 1.252 MB / 0.6214 GB, free: 3.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4369, allocations: 10.36 kB / 0.6214 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.437, allocations: 105.8 kB / 0.6215 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.4374, allocations: 106.2 kB / 0.6216 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.4387, allocations: 0.6503 MB / 0.6222 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.4388, allocations: 46.72 kB / 0.6223 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.4389, allocations: 61.44 kB / 0.6223 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4402, allocations: 0.6721 MB / 0.623 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4402, allocations: 1.25 kB / 0.623 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.4402, allocations: 26.3 kB / 0.623 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4403, allocations: 14.5 kB / 0.623 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.4413, allocations: 0.6215 MB / 0.6236 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.4453, allocations: 3.01 MB / 0.6266 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4465, allocations: 0.6665 MB / 0.6272 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.447, allocations: 286.7 kB / 0.6275 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002232/0.4492, allocations: 1.9 MB / 0.6293 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.4493, allocations: 42.78 kB / 0.6294 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.4493, allocations: 4 kB / 0.6294 GB, free: 13.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01031/0.4596, allocations: 2.426 MB / 0.6318 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4597, allocations: 89.11 kB / 0.6318 GB, free: 12.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/0.4606, allocations: 0.5955 MB / 0.6324 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.4606, allocations: 39.27 kB / 0.6325 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.4609, allocations: 380.3 kB / 0.6328 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.4611, allocations: 226.2 kB / 0.633 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.4613, allocations: 117.3 kB / 0.6332 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4615, allocations: 383.9 kB / 0.6335 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.4619, allocations: 205 kB / 0.6337 GB, free: 11.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.4623, allocations: 305 kB / 0.634 GB, free: 11.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.4632, allocations: 0.5259 MB / 0.6345 GB, free: 10.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4632, allocations: 0 / 0.6345 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005183/0.4684, allocations: 1.388 MB / 0.6359 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4684, allocations: 6.469 kB / 0.6359 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4685, allocations: 5.562 kB / 0.6359 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005019/0.4735, allocations: 0.9265 MB / 0.6368 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.4739, allocations: 99.17 kB / 0.6369 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.4767, allocations: 2.943 MB / 0.6398 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.4774, allocations: 57.88 kB / 0.6398 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.4775, allocations: 25.19 kB / 0.6398 GB, free: 6.988 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.0004056/0.4779, allocations: 211.5 kB / 0.64 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.4781, allocations: 75.09 kB / 0.6401 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/0.4837, allocations: 1.486 MB / 0.6416 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4838, allocations: 7.75 kB / 0.6416 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4838, allocations: 9.312 kB / 0.6416 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4838, allocations: 1.375 kB / 0.6416 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.4902, allocations: 2.134 MB / 0.6437 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.4903, allocations: 1.375 kB / 0.6437 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.4906, allocations: 73.16 kB / 0.6437 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005212/0.4958, allocations: 0.9386 MB / 0.6447 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.4959, allocations: 22.23 kB / 0.6447 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.4983, allocations: 2.936 MB / 0.6475 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4984, allocations: 5.469 kB / 0.6475 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.5041, allocations: 1.769 MB / 0.6493 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.5046, allocations: 204.5 kB / 0.6495 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5048, allocations: 20.34 kB / 0.6495 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.5052, allocations: 17.33 kB / 0.6495 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5054, allocations: 40.41 kB / 0.6495 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.5054, allocations: 26.09 kB / 0.6496 GB, free: 256 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006288/0.5061, allocations: 421.2 kB / 0.65 GB, free: 12 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5061, allocations: 5.031 kB / 0.65 GB, free: 8 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001225/0.5073, allocations: 296.3 kB / 0.6503 GB, free: 15.91 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.006546/0.5139, allocations: 2.591 MB / 0.6528 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.5153, allocations: 0.6952 MB / 0.6535 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5154, allocations: 0 / 0.6535 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.5161, allocations: 445.2 kB / 0.6539 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5176, allocations: 230.8 kB / 0.6541 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.5348, allocations: 7.21 MB / 0.6612 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.5354, allocations: 0.9502 MB / 0.6621 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005169/0.536, allocations: 108.2 kB / 0.6622 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.5364, allocations: 303.3 kB / 0.6625 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.5364, allocations: 0 / 0.6625 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/0.5879, allocations: 24.12 MB / 0.686 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.67, allocations: 0 / 0.686 GB, free: 13.38 MB / 0.5294 GB (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