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.002086/0.002086, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002677/0.002677, allocations: 212.9 kB / 22.24 MB, free: 5.121 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.789 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.702/3.702, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [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.002177/0.002177, allocations: 66.14 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4866, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00389/0.4905, allocations: 1.658 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.4934, allocations: 1.657 MB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.4935, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.494, allocations: 63.69 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.4943, allocations: 99.59 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4945, allocations: 79.61 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.4948, allocations: 187.5 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.4949, allocations: 7.984 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.495, allocations: 63.77 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.4952, allocations: 71.73 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.4952, allocations: 12 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.4954, allocations: 107.9 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4955, allocations: 47.84 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.4956, allocations: 51.72 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.4961, allocations: 251 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4961, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4961, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.4961, allocations: 4 kB / 1.368 GB, free: 9.164 MB / 1.061 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.0007622/0.4968, allocations: 413 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4969, allocations: 12.03 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.4969, allocations: 16.84 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.4974, allocations: 199.1 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4974, allocations: 4.375 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.4974, allocations: 12.12 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.4978, allocations: 160.9 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4978, allocations: 0 / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4978, allocations: 8 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4978, allocations: 0 / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.4981, allocations: 187.8 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.4984, allocations: 173.2 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.4989, allocations: 202.4 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.499, allocations: 60.77 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4991, allocations: 4 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.4993, allocations: 127.3 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.4993, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006203/0.4999, allocations: 255.4 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.5, allocations: 81.11 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5003, allocations: 247 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.5004, allocations: 33.7 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.5004, allocations: 116.1 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.5005, allocations: 47.69 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.5006, allocations: 41.64 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5007, allocations: 334.8 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5009, allocations: 63.97 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.501, allocations: 114.3 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.5013, allocations: 137.7 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5013, allocations: 0 / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003996/0.5017, allocations: 219.9 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5017, allocations: 8 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5017, allocations: 4.047 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5018, allocations: 4 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.5019, allocations: 27.92 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5019, allocations: 4 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.502, allocations: 11.95 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.502, allocations: 7.984 kB / 1.371 GB, free: 5.684 MB / 1.061 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.0001507/0.5021, allocations: 133.8 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5022, allocations: 23.84 kB / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.5027, allocations: 292.2 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5028, allocations: 8 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5028, allocations: 0 / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5028, allocations: 0 / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.503, allocations: 197.1 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.503, allocations: 0 / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5031, allocations: 27.98 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.5031, allocations: 7.938 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5031, allocations: 4 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5032, allocations: 4 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5032, allocations: 7.875 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.5036, allocations: 274.7 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.5037, allocations: 27.89 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.5037, allocations: 11.94 kB / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.5038, allocations: 0 / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.5038, allocations: 19.97 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5039, allocations: 8 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002163/0.5041, allocations: 192.4 kB / 1.372 GB, free: 4.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5041, allocations: 0 / 1.372 GB, free: 4.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003075/0.5044, allocations: 59.86 kB / 1.373 GB, free: 4.344 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 (22): * Single equations (assignments): 20 * 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.002148/0.5065, allocations: 0.5307 MB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.5069, allocations: 159.8 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5069, allocations: 0 / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.5071, allocations: 85.2 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5074, allocations: 41.38 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.5082, allocations: 349.5 kB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.5083, allocations: 120 kB / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.5084, allocations: 53.45 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5085, allocations: 35.41 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.5085, allocations: 0 / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of Templates: time 0.00882/0.5174, allocations: 3.637 MB / 1.377 GB, free: 15.58 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800] 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/jenkins/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: 10.428650902584195]