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.00147/0.00147, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002348/0.002348, allocations: 213.7 kB / 22.25 MB, free: 5.125 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.957 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.327/3.327, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002001/0.002001, allocations: 70.92 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4007, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003119/0.4038, allocations: 1.694 MB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.4064, allocations: 1.727 MB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.4065, allocations: 7.938 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.407, allocations: 63.67 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4072, allocations: 99.53 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.4074, allocations: 71.75 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.4076, allocations: 183.5 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.4077, allocations: 4 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4078, allocations: 75.69 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.408, allocations: 79.72 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.408, allocations: 8 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.4082, allocations: 116 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.4083, allocations: 51.81 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.4084, allocations: 67.53 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.4088, allocations: 235.4 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4088, allocations: 0 / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4088, allocations: 0 / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4088, allocations: 4 kB / 1.357 GB, free: 3.957 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.0006784/0.4095, allocations: 424.9 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4095, allocations: 8.031 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.4096, allocations: 46.69 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.4096, allocations: 20.83 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.41, allocations: 203.1 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.41, allocations: 4.375 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4101, allocations: 7.922 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4103, allocations: 115.3 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4103, allocations: 11.88 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4103, allocations: 0 / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4103, allocations: 4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.4106, allocations: 139.9 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.4108, allocations: 200.7 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4112, allocations: 166.5 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.4113, allocations: 44.84 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.4113, allocations: 11.97 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.4116, allocations: 119.3 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.4116, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005038/0.4121, allocations: 221.5 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4121, allocations: 81.11 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4124, allocations: 218.9 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.4124, allocations: 37.64 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.4125, allocations: 116.1 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.4126, allocations: 39.69 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.4126, allocations: 33.7 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4128, allocations: 330.8 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4129, allocations: 55.91 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.413, allocations: 76.34 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.4132, allocations: 123.9 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4132, allocations: 7.938 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003252/0.4136, allocations: 193.5 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4136, allocations: 5.875 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4136, allocations: 7.984 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4136, allocations: 0 / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4137, allocations: 20 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4137, allocations: 3.984 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.4138, allocations: 7.938 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4138, allocations: 19.97 kB / 1.36 GB, free: 0.6758 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.0001329/0.4139, allocations: 136.1 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.414, allocations: 19.86 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.4144, allocations: 225.5 kB / 1.361 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4144, allocations: 3.984 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4144, allocations: 0 / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4144, allocations: 7.938 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.4146, allocations: 216.5 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4146, allocations: 4 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.4147, allocations: 16 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4147, allocations: 0 / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.4147, allocations: 7.984 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4147, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4147, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.4151, allocations: 212.9 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.4151, allocations: 15.84 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4152, allocations: 8 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.4152, allocations: 7.938 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.4153, allocations: 15.97 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.4153, allocations: 12 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000168/0.4154, allocations: 168.4 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4154, allocations: 0 / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002775/0.4157, allocations: 55.8 kB / 1.361 GB, free: 15.49 MB / 1.061 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002325/0.418, allocations: 1.147 MB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.4183, allocations: 119.9 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4183, allocations: 0 / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.4184, allocations: 51.92 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.4188, allocations: 35.91 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.4213, allocations: 1.982 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4216, allocations: 0.7318 MB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.4217, allocations: 45.59 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4218, allocations: 67.39 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.4218, allocations: 4 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.4596, allocations: 5.385 MB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.58, allocations: 10.97 kB / 1.371 GB, free: 6.027 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.820165468000596]