Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.008682/0.008682, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001999/0.001999, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7324/0.7324, allocations: 93.71 MB / 384.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 75.88 kB / 0.5199 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1277, allocations: 68.28 MB / 0.5866 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2801/0.4079, allocations: 22.84 MB / 0.6089 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4203, allocations: 9.46 MB / 0.6182 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.4213, allocations: 31.47 kB / 0.6182 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.4225, allocations: 415.7 kB / 0.6186 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.4251, allocations: 0.8015 MB / 0.6194 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4264, allocations: 475.8 kB / 0.6198 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.4282, allocations: 1.159 MB / 0.621 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.4287, allocations: 228.8 kB / 0.6212 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.4297, allocations: 481.2 kB / 0.6216 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.4304, allocations: 433.7 kB / 0.6221 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.4306, allocations: 60.94 kB / 0.6221 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.4323, allocations: 0.5047 MB / 0.6226 GB, free: 364 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.4326, allocations: 164.3 kB / 0.6228 GB, free: 248 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007424/0.4333, allocations: 437.2 kB / 0.6232 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.4359, allocations: 1.208 MB / 0.6244 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.436, allocations: 0 / 0.6244 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.436, allocations: 4.625 kB / 0.6244 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.729e-05/0.436, allocations: 0 / 0.6244 GB, free: 15.45 MB / 494.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.002542/0.4386, allocations: 1.293 MB / 0.6256 GB, free: 14.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4386, allocations: 9.719 kB / 0.6256 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.4388, allocations: 106.2 kB / 0.6257 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.4392, allocations: 110.3 kB / 0.6258 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.4403, allocations: 0.6581 MB / 0.6265 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.4404, allocations: 47.64 kB / 0.6265 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.4405, allocations: 69.39 kB / 0.6266 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4417, allocations: 0.6676 MB / 0.6272 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4417, allocations: 5.016 kB / 0.6273 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.4418, allocations: 26.02 kB / 0.6273 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4418, allocations: 14.97 kB / 0.6273 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4429, allocations: 0.6265 MB / 0.6279 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.4469, allocations: 3.006 MB / 0.6308 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4481, allocations: 0.6734 MB / 0.6315 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.4485, allocations: 285.5 kB / 0.6318 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002372/0.4509, allocations: 1.909 MB / 0.6336 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.451, allocations: 39 kB / 0.6337 GB, free: 8.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.013e-06/0.451, allocations: 0 / 0.6337 GB, free: 8.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01014/0.4611, allocations: 2.436 MB / 0.636 GB, free: 7.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.4612, allocations: 92.39 kB / 0.6361 GB, free: 7.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.4619, allocations: 0.5938 MB / 0.6367 GB, free: 7.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.462, allocations: 36.2 kB / 0.6368 GB, free: 7.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.4624, allocations: 389 kB / 0.6371 GB, free: 6.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.4626, allocations: 239.5 kB / 0.6373 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4628, allocations: 117.1 kB / 0.6375 GB, free: 6.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4629, allocations: 331.8 kB / 0.6378 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.4633, allocations: 214 kB / 0.638 GB, free: 6.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.4638, allocations: 291 kB / 0.6383 GB, free: 5.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/0.4647, allocations: 0.5305 MB / 0.6388 GB, free: 5.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4647, allocations: 1.344 kB / 0.6388 GB, free: 5.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005267/0.47, allocations: 1.388 MB / 0.6401 GB, free: 4.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.47, allocations: 5.25 kB / 0.6401 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.47, allocations: 5.953 kB / 0.6401 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/0.4751, allocations: 0.9356 MB / 0.6411 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4754, allocations: 101.1 kB / 0.6412 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.4783, allocations: 2.935 MB / 0.644 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.4787, allocations: 70.34 kB / 0.6441 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.4788, allocations: 23.34 kB / 0.6441 GB, free: 1.668 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.0003023/0.4791, allocations: 201.2 kB / 0.6443 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.4794, allocations: 84.53 kB / 0.6444 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.4847, allocations: 1.49 MB / 0.6458 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4847, allocations: 10.72 kB / 0.6458 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4847, allocations: 2.25 kB / 0.6459 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.4847, allocations: 3.984 kB / 0.6459 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.4909, allocations: 2.147 MB / 0.648 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4909, allocations: 6.406 kB / 0.648 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.4913, allocations: 73.59 kB / 0.648 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/0.4963, allocations: 0.9278 MB / 0.6489 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.4964, allocations: 18.11 kB / 0.649 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.4994, allocations: 2.952 MB / 0.6518 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4994, allocations: 1.672 kB / 0.6518 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.505, allocations: 1.774 MB / 0.6536 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.5053, allocations: 213.2 kB / 0.6538 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5054, allocations: 16.28 kB / 0.6538 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.5058, allocations: 21.11 kB / 0.6538 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5059, allocations: 40.53 kB / 0.6538 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.506, allocations: 21.59 kB / 0.6539 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005312/0.5065, allocations: 425.2 kB / 0.6543 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5066, allocations: 4 kB / 0.6543 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001003/0.5076, allocations: 301.4 kB / 0.6546 GB, free: 10.58 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.006497/0.5141, allocations: 2.599 MB / 0.6571 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.5157, allocations: 0.6954 MB / 0.6578 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5157, allocations: 0 / 0.6578 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.5164, allocations: 451.5 kB / 0.6582 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5176, allocations: 232.1 kB / 0.6584 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.5349, allocations: 7.29 MB / 0.6656 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.5357, allocations: 0.9464 MB / 0.6665 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.5361, allocations: 110.3 kB / 0.6666 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.5365, allocations: 307.3 kB / 0.6669 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.5366, allocations: 0 / 0.6669 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06242/0.599, allocations: 23.87 MB / 0.6902 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.58, allocations: 14.25 kB / 0.6902 GB, free: 7.605 MB / 0.5294 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches