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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_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.00725/0.00725, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001336/0.001336, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6931/0.6931, allocations: 91.2 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 79.88 kB / 0.5164 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 67.7 MB / 0.5825 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2899/0.4142, allocations: 17.31 MB / 0.5994 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008689/0.423, allocations: 6.779 MB / 0.606 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/0.424, allocations: 21 kB / 0.606 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009905/0.425, allocations: 288.4 kB / 0.6063 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.427, allocations: 0.5215 MB / 0.6068 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4281, allocations: 364.8 kB / 0.6071 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.4294, allocations: 0.7865 MB / 0.6079 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.4297, allocations: 150.6 kB / 0.6081 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.4306, allocations: 353.6 kB / 0.6084 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.4312, allocations: 296.9 kB / 0.6087 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.4313, allocations: 38.97 kB / 0.6087 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4327, allocations: 359.7 kB / 0.6091 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.4329, allocations: 108.5 kB / 0.6092 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.4333, allocations: 297.9 kB / 0.6094 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.4354, allocations: 0.8228 MB / 0.6102 GB, free: 11.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4354, allocations: 1.031 kB / 0.6102 GB, free: 11.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4354, allocations: 3.281 kB / 0.6103 GB, free: 11.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.198e-05/0.4355, allocations: 0 / 0.6103 GB, free: 11.08 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.002058/0.4375, allocations: 0.9542 MB / 0.6112 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4376, allocations: 10.31 kB / 0.6112 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.4377, allocations: 82.28 kB / 0.6113 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.438, allocations: 82.78 kB / 0.6114 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.4392, allocations: 0.5132 MB / 0.6119 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.4392, allocations: 32.02 kB / 0.6119 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.4393, allocations: 40.59 kB / 0.6119 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/0.4402, allocations: 456.3 kB / 0.6124 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.4403, allocations: 4 kB / 0.6124 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.4403, allocations: 15.56 kB / 0.6124 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.4403, allocations: 11.06 kB / 0.6124 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.4411, allocations: 409.9 kB / 0.6128 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.4444, allocations: 2.059 MB / 0.6148 GB, free: 7.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.4453, allocations: 405.5 kB / 0.6152 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.4457, allocations: 183.8 kB / 0.6153 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.4475, allocations: 1.415 MB / 0.6167 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4476, allocations: 38.73 kB / 0.6168 GB, free: 6.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.444e-06/0.4476, allocations: 0 / 0.6168 GB, free: 6.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.006356/0.4539, allocations: 1.456 MB / 0.6182 GB, free: 5.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.454, allocations: 90.84 kB / 0.6183 GB, free: 5.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.455, allocations: 461.7 kB / 0.6187 GB, free: 5.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.4551, allocations: 35.17 kB / 0.6188 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.4553, allocations: 285.8 kB / 0.619 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4555, allocations: 138.4 kB / 0.6192 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.4556, allocations: 83.62 kB / 0.6192 GB, free: 4.969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4558, allocations: 364.9 kB / 0.6196 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.4561, allocations: 127.5 kB / 0.6197 GB, free: 4.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.4565, allocations: 181.1 kB / 0.6199 GB, free: 4.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.4571, allocations: 332.7 kB / 0.6202 GB, free: 4.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4572, allocations: 0.5312 kB / 0.6202 GB, free: 4.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003116/0.4603, allocations: 0.7953 MB / 0.621 GB, free: 4.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4603, allocations: 12.69 kB / 0.621 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4603, allocations: 2.031 kB / 0.621 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.4633, allocations: 495.3 kB / 0.6215 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.4636, allocations: 65.02 kB / 0.6215 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.4656, allocations: 2.189 MB / 0.6237 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.4661, allocations: 37.47 kB / 0.6237 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.4661, allocations: 20.94 kB / 0.6237 GB, free: 1.828 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.0002867/0.4664, allocations: 170.9 kB / 0.6239 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4666, allocations: 53.53 kB / 0.6239 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.4697, allocations: 0.867 MB / 0.6248 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4698, allocations: 4.703 kB / 0.6248 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4698, allocations: 5.781 kB / 0.6248 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4698, allocations: 7.109 kB / 0.6248 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.4737, allocations: 1.361 MB / 0.6261 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.4738, allocations: 1.562 kB / 0.6261 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.474, allocations: 51.48 kB / 0.6262 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/0.4768, allocations: 496.8 kB / 0.6266 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.4768, allocations: 9.625 kB / 0.6267 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.4786, allocations: 2.206 MB / 0.6288 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4787, allocations: 4.906 kB / 0.6288 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.4819, allocations: 1.101 MB / 0.6299 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.4822, allocations: 169.7 kB / 0.63 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.4823, allocations: 7.781 kB / 0.6301 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.4826, allocations: 11.75 kB / 0.6301 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.4827, allocations: 27.27 kB / 0.6301 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.4828, allocations: 17.61 kB / 0.6301 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.4832, allocations: 343.6 kB / 0.6304 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4832, allocations: 0 / 0.6304 GB, free: 13.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007142/0.4839, allocations: 191.7 kB / 0.6306 GB, free: 13.54 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.003751/0.4877, allocations: 1.835 MB / 0.6324 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009776/0.4887, allocations: 478.1 kB / 0.6329 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4887, allocations: 0 / 0.6329 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.4892, allocations: 307.1 kB / 0.6332 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4902, allocations: 159.1 kB / 0.6333 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5011, allocations: 5.123 MB / 0.6383 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.5016, allocations: 0.8659 MB / 0.6392 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.502, allocations: 79.73 kB / 0.6392 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.5023, allocations: 208.2 kB / 0.6394 GB, free: 7.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.735e-06/0.5023, allocations: 1.375 kB / 0.6394 GB, free: 7.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.547, allocations: 16.63 MB / 0.6557 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.51, allocations: 6.75 kB / 0.6557 GB, free: 12.74 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > 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