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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 186.7 kB / 20.78 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.678/0.678, allocations: 94.61 MB / 399.1 MB, free: 15.71 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 87.86 kB / 0.5444 GB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5545, allocations: 71.83 MB / 0.6145 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02943/0.5839, allocations: 23.29 MB / 0.6373 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.6008, allocations: 9.568 MB / 0.6466 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.6022, allocations: 34.47 kB / 0.6466 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6037, allocations: 417.6 kB / 0.647 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.6071, allocations: 0.8088 MB / 0.6478 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.609, allocations: 481.6 kB / 0.6483 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.6113, allocations: 1.162 MB / 0.6494 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.6118, allocations: 145.2 kB / 0.6496 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.6129, allocations: 486.8 kB / 0.65 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.6137, allocations: 452.3 kB / 0.6505 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6139, allocations: 58.91 kB / 0.6505 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.6163, allocations: 0.5214 MB / 0.651 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.6165, allocations: 162 kB / 0.6512 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.617, allocations: 434.9 kB / 0.6516 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.6196, allocations: 1.207 MB / 0.6528 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6196, allocations: 3.984 kB / 0.6528 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6196, allocations: 0 / 0.6528 GB, free: 8.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.6196, allocations: 0 / 0.6528 GB, free: 8.051 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.002865/0.6225, allocations: 1.293 MB / 0.654 GB, free: 7.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6225, allocations: 12.84 kB / 0.654 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.6227, allocations: 109.9 kB / 0.6542 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.6231, allocations: 109.2 kB / 0.6543 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6244, allocations: 0.66 MB / 0.6549 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.6244, allocations: 44.59 kB / 0.6549 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6246, allocations: 68.97 kB / 0.655 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6258, allocations: 0.6705 MB / 0.6557 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6258, allocations: 1.5 kB / 0.6557 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.6259, allocations: 26 kB / 0.6557 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.6259, allocations: 14.47 kB / 0.6557 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.627, allocations: 0.6245 MB / 0.6563 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.6318, allocations: 3.005 MB / 0.6593 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.6329, allocations: 0.6237 MB / 0.6599 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.6334, allocations: 255.1 kB / 0.6601 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/0.6361, allocations: 1.905 MB / 0.662 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/0.6362, allocations: 41.94 kB / 0.662 GB, free: 400 kB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.6362, allocations: 4 kB / 0.662 GB, free: 396 kB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01066/0.6468, allocations: 2.428 MB / 0.6644 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.6469, allocations: 89.3 kB / 0.6645 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.6479, allocations: 0.5962 MB / 0.665 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.648, allocations: 41.14 kB / 0.6651 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6484, allocations: 388.9 kB / 0.6655 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.6486, allocations: 231.6 kB / 0.6657 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.6488, allocations: 117 kB / 0.6658 GB, free: 14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6489, allocations: 327.7 kB / 0.6661 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.6494, allocations: 209.2 kB / 0.6663 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.6499, allocations: 303.7 kB / 0.6666 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.6508, allocations: 0.5263 MB / 0.6671 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6508, allocations: 2 kB / 0.6671 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005247/0.6561, allocations: 1.377 MB / 0.6685 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6561, allocations: 10.77 kB / 0.6685 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6561, allocations: 1.406 kB / 0.6685 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.6613, allocations: 0.9321 MB / 0.6694 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.6617, allocations: 95.89 kB / 0.6695 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.6646, allocations: 2.941 MB / 0.6723 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.6653, allocations: 67.53 kB / 0.6724 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.6654, allocations: 28 kB / 0.6724 GB, free: 8.594 MB / 0.4981 GB 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.0003545/0.6657, allocations: 213.7 kB / 0.6726 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.6659, allocations: 79.48 kB / 0.6727 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/0.6712, allocations: 1.467 MB / 0.6741 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.6712, allocations: 15.81 kB / 0.6742 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6713, allocations: 4 kB / 0.6742 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6713, allocations: 7.984 kB / 0.6742 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.6776, allocations: 2.137 MB / 0.6763 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6776, allocations: 0 / 0.6763 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.678, allocations: 75.91 kB / 0.6763 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005158/0.6831, allocations: 0.9352 MB / 0.6772 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.6832, allocations: 19.98 kB / 0.6773 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.6861, allocations: 2.945 MB / 0.6801 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6861, allocations: 0 / 0.6801 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.6919, allocations: 1.761 MB / 0.6819 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.6924, allocations: 212.3 kB / 0.6821 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6925, allocations: 12 kB / 0.6821 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.693, allocations: 23.98 kB / 0.6821 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6931, allocations: 44.5 kB / 0.6821 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.6931, allocations: 16 kB / 0.6821 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007176/0.6938, allocations: 431 kB / 0.6826 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6938, allocations: 4 kB / 0.6826 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001044/0.6949, allocations: 291.3 kB / 0.6828 GB, free: 13.59 MB / 0.5137 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.006597/0.7015, allocations: 2.596 MB / 0.6854 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.703, allocations: 0.6631 MB / 0.686 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.703, allocations: 8.062 kB / 0.686 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.7038, allocations: 417.6 kB / 0.6864 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7051, allocations: 226.7 kB / 0.6866 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.7222, allocations: 7.266 MB / 0.6937 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.7229, allocations: 0.9503 MB / 0.6947 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004474/0.7233, allocations: 112.2 kB / 0.6948 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.7238, allocations: 307.3 kB / 0.6951 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of SimCode: time 1.793e-06/0.7238, allocations: 0 / 0.6951 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.7956, allocations: 24.12 MB / 0.7186 GB, free: 8.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/17.8, allocations: 4 kB / 0.7186 GB, free: 8.887 MB / 0.545 GB " [Timeout remaining time 642] (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) [Timeout 1260.0] 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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.601466847001575]