Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Tanks.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.001285/0.001285, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001418/0.001418, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") [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.002061/0.002061, allocations: 63.69 kB / 1.155 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 176.1 MB / 1.327 GB, free: 1.379 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.04839/0.4398, allocations: 42.59 MB / 1.369 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.4581, allocations: 11.28 MB / 1.38 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.4608, allocations: 71.38 kB / 1.38 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.4627, allocations: 433.1 kB / 1.38 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.4679, allocations: 1.248 MB / 1.381 GB, free: 9.574 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.4707, allocations: 0.7672 MB / 1.382 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.4747, allocations: 2.124 MB / 1.384 GB, free: 6.676 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009695/0.4756, allocations: 0.5287 MB / 1.385 GB, free: 6.137 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.4784, allocations: 1.017 MB / 1.386 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.4793, allocations: 0.5834 MB / 1.386 GB, free: 4.531 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.4794, allocations: 60 kB / 1.386 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.481, allocations: 0.6784 MB / 1.387 GB, free: 3.793 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.4812, allocations: 191.2 kB / 1.387 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.4817, allocations: 398.2 kB / 1.388 GB, free: 3.215 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.4836, allocations: 1.292 MB / 1.389 GB, free: 1.918 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4836, allocations: 0 / 1.389 GB, free: 1.918 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4836, allocations: 0 / 1.389 GB, free: 1.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4836, allocations: 0 / 1.389 GB, free: 1.918 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00182/0.4854, allocations: 1.006 MB / 1.39 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4854, allocations: 8.031 kB / 1.39 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.4857, allocations: 92.42 kB / 1.39 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4869, allocations: 0.6247 MB / 1.391 GB, free: 132 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.4869, allocations: 41.38 kB / 1.391 GB, free: 92 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.487, allocations: 59.89 kB / 1.391 GB, free: 32 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.488, allocations: 0.5585 MB / 1.391 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.488, allocations: 7.938 kB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.488, allocations: 20 kB / 1.391 GB, free: 15.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.4881, allocations: 12 kB / 1.391 GB, free: 15.4 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.4888, allocations: 383.7 kB / 1.392 GB, free: 15.03 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.4921, allocations: 2.607 MB / 1.394 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.4926, allocations: 224.6 kB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4928, allocations: 120.7 kB / 1.394 GB, free: 11.9 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.4946, allocations: 0.8118 MB / 1.395 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4946, allocations: 46.5 kB / 1.395 GB, free: 11.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.4946, allocations: 0 / 1.395 GB, free: 11.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0006792/0.4953, allocations: 318.8 kB / 1.396 GB, free: 10.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4954, allocations: 55.34 kB / 1.396 GB, free: 10.63 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.4962, allocations: 0.6411 MB / 1.396 GB, free: 9.98 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.4962, allocations: 29.7 kB / 1.396 GB, free: 9.945 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.4966, allocations: 356 kB / 1.397 GB, free: 9.594 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.4966, allocations: 75.38 kB / 1.397 GB, free: 9.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4968, allocations: 89.36 kB / 1.397 GB, free: 9.426 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.497, allocations: 374.8 kB / 1.397 GB, free: 9.051 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4972, allocations: 83.95 kB / 1.397 GB, free: 8.969 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.4975, allocations: 241.7 kB / 1.397 GB, free: 8.668 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.4979, allocations: 343.6 kB / 1.398 GB, free: 8.27 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.498, allocations: 4 kB / 1.398 GB, free: 8.266 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006622/0.4986, allocations: 407.5 kB / 1.398 GB, free: 7.863 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4986, allocations: 15.94 kB / 1.398 GB, free: 7.848 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4987, allocations: 4 kB / 1.398 GB, free: 7.844 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.4987, allocations: 8 kB / 1.398 GB, free: 7.836 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4989, allocations: 71.91 kB / 1.398 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/0.499, allocations: 15.86 kB / 1.398 GB, free: 7.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.4993, allocations: 55.56 kB / 1.398 GB, free: 7.695 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4993, allocations: 20 kB / 1.398 GB, free: 7.676 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0002809/0.4996, allocations: 205.8 kB / 1.399 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4997, allocations: 75.52 kB / 1.399 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.5003, allocations: 340.8 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5004, allocations: 7.984 kB / 1.399 GB, free: 7.043 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5004, allocations: 0 / 1.399 GB, free: 7.043 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005581/0.5009, allocations: 496.5 kB / 1.399 GB, free: 6.492 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.5024, allocations: 0.9298 MB / 1.4 GB, free: 5.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5024, allocations: 11.92 kB / 1.4 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.5026, allocations: 39.92 kB / 1.4 GB, free: 5.449 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5026, allocations: 0 / 1.4 GB, free: 5.449 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.5026, allocations: 11.98 kB / 1.4 GB, free: 5.438 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5026, allocations: 4 kB / 1.4 GB, free: 5.434 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5026, allocations: 0 / 1.4 GB, free: 5.434 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.5034, allocations: 0.5541 MB / 1.401 GB, free: 4.852 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.5037, allocations: 103.5 kB / 1.401 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.5038, allocations: 11.98 kB / 1.401 GB, free: 4.738 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.504, allocations: 7.984 kB / 1.401 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5041, allocations: 19.91 kB / 1.401 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.5041, allocations: 20.05 kB / 1.401 GB, free: 4.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005876/0.5047, allocations: 467 kB / 1.402 GB, free: 4.238 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.5047, allocations: 0 / 1.402 GB, free: 4.238 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007316/0.5054, allocations: 215.5 kB / 1.402 GB, free: 4.027 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0005344/0.5059, allocations: 282.6 kB / 1.402 GB, free: 3.738 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.5065, allocations: 262.9 kB / 1.402 GB, free: 3.484 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5065, allocations: 0 / 1.402 GB, free: 3.484 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.5067, allocations: 111.8 kB / 1.402 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.5085, allocations: 435.2 kB / 1.403 GB, free: 2.969 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.5105, allocations: 1.131 MB / 1.404 GB, free: 1.785 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.5111, allocations: 0.8979 MB / 1.405 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5112, allocations: 67.41 kB / 1.405 GB, free: 0.793 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/0.5112, allocations: 0 / 1.405 GB, free: 0.793 MB / 1.092 GB Notification: Performance of Templates: time 0.01888/0.5301, allocations: 11.84 MB / 1.416 GB, free: 5.062 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.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: 14.054006801976357]