Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001374/0.001374, allocations: 103 kB / 16.45 MB, free: 6.449 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.00206/0.00206, allocations: 212.9 kB / 19.43 MB, free: 3.633 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.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.259/3.259, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 75.64 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.382, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003312/0.3853, allocations: 1.676 MB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3879, allocations: 1.64 MB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.388, allocations: 4 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.3885, allocations: 67.67 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3888, allocations: 91.59 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.389, allocations: 71.69 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3892, allocations: 175.6 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.3893, allocations: 11.94 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3894, allocations: 75.69 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3896, allocations: 71.8 kB / 1.352 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3896, allocations: 8 kB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.3899, allocations: 115.9 kB / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.3899, allocations: 51.81 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.39, allocations: 67.59 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3904, allocations: 243.3 kB / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3904, allocations: 0 / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3904, allocations: 0 / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3904, allocations: 0 / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007251/0.3911, allocations: 0.4941 MB / 1.353 GB, free: 5.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3912, allocations: 11.98 kB / 1.353 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.3912, allocations: 38.73 kB / 1.353 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.3913, allocations: 12.84 kB / 1.353 GB, free: 4.992 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.3917, allocations: 276.9 kB / 1.353 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3918, allocations: 4.375 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3918, allocations: 7.938 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.392, allocations: 111.3 kB / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3921, allocations: 0 / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3921, allocations: 11.92 kB / 1.353 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3921, allocations: 4 kB / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3923, allocations: 135.9 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.3926, allocations: 233.6 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.393, allocations: 162.4 kB / 1.353 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3931, allocations: 48.84 kB / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3932, allocations: 7.984 kB / 1.354 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.3934, allocations: 111.4 kB / 1.354 GB, free: 3.773 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3934, allocations: 0 / 1.354 GB, free: 3.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005382/0.3939, allocations: 231.8 kB / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.394, allocations: 77.11 kB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3943, allocations: 223 kB / 1.354 GB, free: 3.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3943, allocations: 29.7 kB / 1.354 GB, free: 3.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3944, allocations: 112.1 kB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.3945, allocations: 51.61 kB / 1.354 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.3945, allocations: 37.7 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3947, allocations: 326.8 kB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3948, allocations: 47.92 kB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3949, allocations: 74.55 kB / 1.355 GB, free: 2.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3952, allocations: 129.7 kB / 1.355 GB, free: 2.387 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3952, allocations: 7.969 kB / 1.355 GB, free: 2.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003584/0.3955, allocations: 201.4 kB / 1.355 GB, free: 2.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3955, allocations: 4 kB / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3956, allocations: 0 / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3956, allocations: 0 / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3957, allocations: 27.98 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3957, allocations: 0 / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.3958, allocations: 11.98 kB / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3958, allocations: 4 kB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.3959, allocations: 145.7 kB / 1.355 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.396, allocations: 19.86 kB / 1.355 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.3961, allocations: 29.52 kB / 1.355 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3961, allocations: 0 / 1.355 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3961, allocations: 0 / 1.355 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3961, allocations: 4 kB / 1.355 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3963, allocations: 241.4 kB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3963, allocations: 0 / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.3964, allocations: 19.98 kB / 1.356 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3964, allocations: 0 / 1.356 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3964, allocations: 12 kB / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3964, allocations: 0 / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3964, allocations: 0 / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.3968, allocations: 223.9 kB / 1.356 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3969, allocations: 89.02 kB / 1.356 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.3969, allocations: 11.98 kB / 1.356 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.3969, allocations: 4 kB / 1.356 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.397, allocations: 11.98 kB / 1.356 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.397, allocations: 8 kB / 1.356 GB, free: 1.227 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001722/0.3972, allocations: 164.4 kB / 1.356 GB, free: 1.066 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3972, allocations: 0 / 1.356 GB, free: 1.066 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003046/0.3975, allocations: 59.8 kB / 1.356 GB, free: 1.008 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/0.3999, allocations: 1.149 MB / 1.357 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.4002, allocations: 108 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4002, allocations: 0 / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4004, allocations: 59.91 kB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.4007, allocations: 33.89 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.4033, allocations: 1.988 MB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.4037, allocations: 0.7318 MB / 1.36 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.4038, allocations: 57.48 kB / 1.36 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.404, allocations: 59.34 kB / 1.36 GB, free: 12.88 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.404, allocations: 0 / 1.36 GB, free: 12.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.4355, allocations: 5.209 MB / 1.365 GB, free: 7.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.783, allocations: 11.38 kB / 1.365 GB, free: 7.77 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.867182875052094]