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.001683/0.001683, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002096/0.002096, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.023 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.33/3.33, allocations: 0.505 GB / 0.8101 GB, free: 22.11 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.002029/0.002029, allocations: 67.12 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3931, 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.003638/0.3968, allocations: 1.686 MB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.3996, allocations: 1.734 MB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3997, allocations: 7.938 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.4002, allocations: 59.69 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.4006, allocations: 95.59 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.4008, allocations: 75.67 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.4011, allocations: 179.6 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.4012, allocations: 11.98 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.4014, allocations: 75.7 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.4016, allocations: 67.8 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.4016, allocations: 15.94 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.4019, allocations: 115.9 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.402, allocations: 51.83 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.4021, allocations: 59.61 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.4025, allocations: 243.3 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4026, allocations: 0 / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4026, allocations: 4 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.4026, allocations: 0 / 1.357 GB, free: 3.961 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.0008208/0.4034, allocations: 432.9 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4034, allocations: 8.031 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.4035, allocations: 34.73 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.458e-05/0.4036, allocations: 20.84 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.4041, allocations: 207.1 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4041, allocations: 8.359 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4041, allocations: 7.938 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.4044, allocations: 119.3 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4044, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4044, allocations: 4 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4044, allocations: 4 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.4047, allocations: 143.8 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.405, allocations: 204.6 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.4054, allocations: 166.5 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4055, allocations: 48.83 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.4055, allocations: 4 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.4058, allocations: 109.5 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.4058, allocations: 0 / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005422/0.4063, allocations: 229.5 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4064, allocations: 77.11 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4066, allocations: 226.9 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4067, allocations: 29.7 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.4067, allocations: 116.1 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.4068, allocations: 43.78 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.4069, allocations: 37.64 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.407, allocations: 326.8 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4071, allocations: 55.97 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4072, allocations: 76.94 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.4075, allocations: 128.2 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4075, allocations: 7.875 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003511/0.4078, allocations: 193.5 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4078, allocations: 4 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4078, allocations: 4.062 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4079, allocations: 4 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.408, allocations: 23.98 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.408, allocations: 4 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.4081, allocations: 11.94 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4081, allocations: 4 kB / 1.36 GB, free: 0.6836 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.0001584/0.4082, allocations: 147.6 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.4083, allocations: 19.86 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.4087, allocations: 223 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4087, allocations: 0 / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4087, allocations: 0 / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4088, allocations: 0 / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.409, allocations: 216.5 kB / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.409, allocations: 0 / 1.361 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.4091, allocations: 23.92 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4091, allocations: 0 / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.4091, allocations: 8.047 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4091, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4091, allocations: 0 / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.4095, allocations: 211.4 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.4095, allocations: 19.84 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4095, allocations: 4 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.4096, allocations: 11.98 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.4096, allocations: 15.97 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.4097, allocations: 7.938 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001759/0.4098, allocations: 164.4 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4098, allocations: 4 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002961/0.4101, allocations: 55.86 kB / 1.361 GB, free: 15.5 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.002445/0.4126, allocations: 1.15 MB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.4129, allocations: 115.8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4129, allocations: 4.062 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.413, allocations: 59.91 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.0002896/0.4133, allocations: 34.53 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.002556/0.4158, allocations: 1.98 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4162, allocations: 0.7281 MB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.4163, allocations: 57.52 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4164, allocations: 59.41 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4164, allocations: 0 / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.4529, allocations: 5.385 MB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 6.156 kB / 1.371 GB, free: 6.039 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=800 --tolerance=1e-06 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.mat","/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.928452565101907]