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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 110.2 kB / 16.46 MB, free: 6.035 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.002152/0.002152, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.684/1.684, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.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.9189/0.9189, allocations: 94.6 MB / 397.3 MB, free: 288 kB / 302.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,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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 86.47 kB / 0.5416 GB, free: 42.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1965, allocations: 71.85 MB / 0.6118 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02476/0.2213, allocations: 17.47 MB / 0.6288 GB, free: 8.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.2317, allocations: 6.828 MB / 0.6355 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009618/0.2327, allocations: 19.88 kB / 0.6355 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.2338, allocations: 298 kB / 0.6358 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.2362, allocations: 0.5356 MB / 0.6363 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2375, allocations: 366.7 kB / 0.6367 GB, free: 492 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.239, allocations: 0.8086 MB / 0.6375 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.2393, allocations: 97.53 kB / 0.6376 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.2401, allocations: 358.4 kB / 0.6379 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.2406, allocations: 302.5 kB / 0.6382 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.303e-05/0.2406, allocations: 40 kB / 0.6382 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2419, allocations: 363.6 kB / 0.6386 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.2421, allocations: 115.5 kB / 0.6387 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.2424, allocations: 306.2 kB / 0.639 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.2441, allocations: 0.8403 MB / 0.6398 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2441, allocations: 0 / 0.6398 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2441, allocations: 0 / 0.6398 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2441, allocations: 0 / 0.6398 GB, free: 13.27 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001913/0.246, allocations: 0.9844 MB / 0.6408 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2461, allocations: 8.031 kB / 0.6408 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.2462, allocations: 82.7 kB / 0.6408 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.2464, allocations: 80.42 kB / 0.6409 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.2476, allocations: 0.5272 MB / 0.6414 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.2477, allocations: 33 kB / 0.6415 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2478, allocations: 43.95 kB / 0.6415 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.2486, allocations: 459.8 kB / 0.6419 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.2486, allocations: 7.984 kB / 0.642 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.2487, allocations: 12 kB / 0.642 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.2487, allocations: 12 kB / 0.642 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.2494, allocations: 411.7 kB / 0.6424 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.2526, allocations: 2.061 MB / 0.6444 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.2534, allocations: 381.3 kB / 0.6447 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.2537, allocations: 162.3 kB / 0.6449 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/0.2557, allocations: 1.419 MB / 0.6463 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2557, allocations: 38.89 kB / 0.6463 GB, free: 6.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.2557, allocations: 0 / 0.6463 GB, free: 6.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.00622/0.2619, allocations: 1.456 MB / 0.6477 GB, free: 4.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.262, allocations: 92.98 kB / 0.6478 GB, free: 4.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.2628, allocations: 479 kB / 0.6483 GB, free: 3.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.2628, allocations: 29.7 kB / 0.6483 GB, free: 3.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.2631, allocations: 292.7 kB / 0.6486 GB, free: 3.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.2632, allocations: 150.7 kB / 0.6487 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2634, allocations: 74.12 kB / 0.6488 GB, free: 3.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.2636, allocations: 366.8 kB / 0.6492 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.2639, allocations: 124.8 kB / 0.6493 GB, free: 2.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2642, allocations: 185.8 kB / 0.6495 GB, free: 2.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.2648, allocations: 335 kB / 0.6498 GB, free: 2.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2648, allocations: 0 / 0.6498 GB, free: 2.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002905/0.2677, allocations: 0.7913 MB / 0.6505 GB, free: 1.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.2677, allocations: 12.03 kB / 0.6506 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2677, allocations: 0 / 0.6506 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.2705, allocations: 485.3 kB / 0.651 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2708, allocations: 75.83 kB / 0.6511 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.2732, allocations: 2.196 MB / 0.6532 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.2736, allocations: 43.64 kB / 0.6533 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.2737, allocations: 15.98 kB / 0.6533 GB, free: 14.61 MB / 0.4981 GB 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.0004034/0.2741, allocations: 165.8 kB / 0.6535 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.2742, allocations: 67.62 kB / 0.6535 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.2774, allocations: 0.8547 MB / 0.6544 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2774, allocations: 4 kB / 0.6544 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2774, allocations: 0 / 0.6544 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.2774, allocations: 7.984 kB / 0.6544 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.2814, allocations: 1.364 MB / 0.6557 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2814, allocations: 0 / 0.6557 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.2817, allocations: 51.91 kB / 0.6557 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/0.2844, allocations: 497.2 kB / 0.6562 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.2845, allocations: 11.98 kB / 0.6562 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.2872, allocations: 2.201 MB / 0.6584 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2872, allocations: 0 / 0.6584 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.2908, allocations: 1.104 MB / 0.6595 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.2912, allocations: 160.6 kB / 0.6596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.2913, allocations: 11.98 kB / 0.6596 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2915, allocations: 8 kB / 0.6596 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2916, allocations: 43.7 kB / 0.6597 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.2917, allocations: 15.94 kB / 0.6597 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005852/0.2923, allocations: 342.9 kB / 0.66 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2923, allocations: 0 / 0.66 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008037/0.2931, allocations: 195.5 kB / 0.6602 GB, free: 7.215 MB / 0.4981 GB 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.004432/0.2975, allocations: 1.823 MB / 0.662 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.2989, allocations: 454.8 kB / 0.6624 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.2989, allocations: 0 / 0.6624 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.2995, allocations: 302.6 kB / 0.6627 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3008, allocations: 165.8 kB / 0.6629 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.3143, allocations: 5.169 MB / 0.6679 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.315, allocations: 0.8668 MB / 0.6688 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004169/0.3155, allocations: 77.2 kB / 0.6688 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.3158, allocations: 211.4 kB / 0.669 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.525e-06/0.3158, allocations: 0 / 0.669 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.3923, allocations: 16.6 MB / 0.6852 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.16, allocations: 5.938 kB / 0.6852 GB, free: 13.58 MB / 0.5294 GB " [Timeout remaining time 643] (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 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] 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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.492477921769023]