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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002742/0.002742, allocations: 212 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.926/0.926, allocations: 100.3 MB / 412.7 MB, free: 3.656 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 87.11 kB / 0.5633 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1948, allocations: 74.46 MB / 0.636 GB, free: 7.664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03104/0.2259, allocations: 23.35 MB / 0.6588 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.2399, allocations: 9.567 MB / 0.6681 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2414, allocations: 47.56 kB / 0.6682 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2429, allocations: 413.2 kB / 0.6686 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.246, allocations: 0.8151 MB / 0.6693 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2477, allocations: 482.3 kB / 0.6698 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.25, allocations: 1.163 MB / 0.6709 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2503, allocations: 159.9 kB / 0.6711 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2515, allocations: 0.4901 MB / 0.6716 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007857/0.2523, allocations: 445.7 kB / 0.672 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2524, allocations: 60 kB / 0.6721 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.2543, allocations: 0.5307 MB / 0.6726 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.2545, allocations: 155.2 kB / 0.6727 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.255, allocations: 445.5 kB / 0.6731 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.2576, allocations: 1.206 MB / 0.6743 GB, free: 220 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.2576, allocations: 3.984 kB / 0.6743 GB, free: 216 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2576, allocations: 0 / 0.6743 GB, free: 216 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.2576, allocations: 0 / 0.6743 GB, free: 216 kB / 0.4981 GB 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.002723/0.2603, allocations: 1.212 MB / 0.6755 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.2604, allocations: 12.03 kB / 0.6755 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002925/0.2607, allocations: 106.7 kB / 0.6756 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.261, allocations: 112.2 kB / 0.6757 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.2625, allocations: 0.5839 MB / 0.6763 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.2626, allocations: 53.3 kB / 0.6764 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2627, allocations: 64 kB / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2639, allocations: 0.673 MB / 0.6771 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.2639, allocations: 0 / 0.6771 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.264, allocations: 24 kB / 0.6771 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.264, allocations: 20 kB / 0.6771 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2652, allocations: 0.6454 MB / 0.6777 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.2701, allocations: 2.968 MB / 0.6806 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2715, allocations: 0.6234 MB / 0.6813 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.2719, allocations: 266.8 kB / 0.6815 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/0.2741, allocations: 1.068 MB / 0.6826 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.2741, allocations: 43.16 kB / 0.6826 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.2741, allocations: 3.938 kB / 0.6826 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01071/0.2849, allocations: 2.205 MB / 0.6847 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.285, allocations: 85.7 kB / 0.6848 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/0.2858, allocations: 0.5943 MB / 0.6854 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.2858, allocations: 37.7 kB / 0.6854 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.2862, allocations: 396.8 kB / 0.6858 GB, free: 4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.2865, allocations: 234 kB / 0.686 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2867, allocations: 122.3 kB / 0.6862 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2869, allocations: 326 kB / 0.6865 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.2872, allocations: 209.2 kB / 0.6867 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2877, allocations: 310.8 kB / 0.687 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.2887, allocations: 0.5358 MB / 0.6875 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2887, allocations: 0 / 0.6875 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005565/0.2943, allocations: 1.393 MB / 0.6889 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2943, allocations: 8 kB / 0.6889 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2943, allocations: 4.047 kB / 0.6889 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/0.2999, allocations: 0.9391 MB / 0.6898 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.3003, allocations: 95.89 kB / 0.6899 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.3034, allocations: 2.854 MB / 0.6927 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.3039, allocations: 63.73 kB / 0.6927 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.3041, allocations: 20 kB / 0.6927 GB, free: 12.66 MB / 0.5294 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.0004494/0.3045, allocations: 197.7 kB / 0.6929 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.3047, allocations: 87.44 kB / 0.693 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/0.3106, allocations: 1.49 MB / 0.6945 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.3107, allocations: 11.94 kB / 0.6945 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3107, allocations: 3.938 kB / 0.6945 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3107, allocations: 3.984 kB / 0.6945 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006968/0.3176, allocations: 2.123 MB / 0.6966 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3177, allocations: 3.938 kB / 0.6966 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.3181, allocations: 71.91 kB / 0.6966 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/0.3235, allocations: 0.943 MB / 0.6976 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.3235, allocations: 12 kB / 0.6976 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.3268, allocations: 2.854 MB / 0.7004 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3268, allocations: 0 / 0.7004 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/0.3329, allocations: 1.787 MB / 0.7021 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.3333, allocations: 135.2 kB / 0.7022 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.3334, allocations: 19.95 kB / 0.7022 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3337, allocations: 12 kB / 0.7023 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3338, allocations: 52.56 kB / 0.7023 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.3339, allocations: 19.98 kB / 0.7023 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007484/0.3346, allocations: 431 kB / 0.7027 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.3346, allocations: 0 / 0.7027 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001103/0.3357, allocations: 291.3 kB / 0.703 GB, free: 1.832 MB / 0.5294 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.007093/0.3428, allocations: 2.607 MB / 0.7056 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.3445, allocations: 0.668 MB / 0.7062 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3445, allocations: 0 / 0.7062 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.3453, allocations: 434.8 kB / 0.7066 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.3466, allocations: 220.7 kB / 0.7068 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.3656, allocations: 7.307 MB / 0.714 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/0.3665, allocations: 0.9502 MB / 0.7149 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000465/0.367, allocations: 103.8 kB / 0.715 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.3674, allocations: 307.3 kB / 0.7153 GB, free: 4.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.034e-06/0.3674, allocations: 0 / 0.7153 GB, free: 4.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.4445, allocations: 24.56 MB / 0.7393 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/17.93, allocations: 3.938 kB / 0.7393 GB, free: 12.68 MB / 0.5762 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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv --start-time 0 --stop-time 1000 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 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.csv","/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) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! Error: Could not read variable thermalConvection.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv. Warning: Get data of variable thermalConvection.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.713739129001624]