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.001471/0.001471, allocations: 105.2 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.00162/0.00162, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.254/3.254, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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.002085/0.002085, allocations: 73.59 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 176.1 MB / 1.321 GB, free: 2.812 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.04707/0.4681, allocations: 42.18 MB / 1.362 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.4864, allocations: 11.21 MB / 1.373 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.4888, allocations: 67.38 kB / 1.373 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.4903, allocations: 437.1 kB / 1.374 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.4944, allocations: 1.221 MB / 1.375 GB, free: 11.51 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.4966, allocations: 0.7325 MB / 1.376 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.5001, allocations: 2.085 MB / 1.378 GB, free: 8.691 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.5014, allocations: 0.5477 MB / 1.378 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.5045, allocations: 1.012 MB / 1.379 GB, free: 7.121 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.5058, allocations: 0.5834 MB / 1.38 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.5061, allocations: 60 kB / 1.38 GB, free: 6.477 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.5081, allocations: 0.6589 MB / 1.381 GB, free: 5.816 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.5085, allocations: 187.2 kB / 1.381 GB, free: 5.633 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000873/0.5094, allocations: 402.1 kB / 1.381 GB, free: 5.238 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.5128, allocations: 1.289 MB / 1.382 GB, free: 3.945 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5128, allocations: 8 kB / 1.382 GB, free: 3.938 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5128, allocations: 0 / 1.382 GB, free: 3.938 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.05e-05/0.5128, allocations: 0 / 1.382 GB, free: 3.938 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.002966/0.5158, allocations: 1.074 MB / 1.383 GB, free: 2.812 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5159, allocations: 15.98 kB / 1.383 GB, free: 2.797 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.5162, allocations: 92.42 kB / 1.384 GB, free: 2.707 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.5178, allocations: 0.6968 MB / 1.384 GB, free: 1.973 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.5179, allocations: 37.38 kB / 1.384 GB, free: 1.938 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.518, allocations: 55.94 kB / 1.384 GB, free: 1.883 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.5193, allocations: 0.5625 MB / 1.385 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5193, allocations: 3.938 kB / 1.385 GB, free: 1.285 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.5194, allocations: 20 kB / 1.385 GB, free: 1.266 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.5194, allocations: 16 kB / 1.385 GB, free: 1.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000886/0.5203, allocations: 383.7 kB / 1.385 GB, free: 0.8711 MB / 1.076 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.004242/0.5246, allocations: 2.668 MB / 1.388 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.5253, allocations: 226.6 kB / 1.388 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.5255, allocations: 117.8 kB / 1.388 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002663/0.5282, allocations: 1.811 MB / 1.39 GB, free: 11.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.5282, allocations: 34.5 kB / 1.39 GB, free: 11.55 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.5282, allocations: 0 / 1.39 GB, free: 11.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007944/0.529, allocations: 326.5 kB / 1.39 GB, free: 11.23 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.529, allocations: 59.34 kB / 1.39 GB, free: 11.16 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/0.53, allocations: 0.6371 MB / 1.391 GB, free: 10.51 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.53, allocations: 33.7 kB / 1.391 GB, free: 10.47 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.5304, allocations: 352 kB / 1.391 GB, free: 10.12 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.5305, allocations: 75.36 kB / 1.391 GB, free: 10.05 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.5306, allocations: 89.38 kB / 1.392 GB, free: 9.957 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5308, allocations: 370.8 kB / 1.392 GB, free: 9.586 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.531, allocations: 95.89 kB / 1.392 GB, free: 9.492 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.5314, allocations: 233.7 kB / 1.392 GB, free: 9.199 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.5319, allocations: 339.4 kB / 1.393 GB, free: 8.805 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5319, allocations: 0 / 1.393 GB, free: 8.805 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007914/0.5327, allocations: 414.6 kB / 1.393 GB, free: 8.395 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5327, allocations: 11.94 kB / 1.393 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5327, allocations: 4.625 kB / 1.393 GB, free: 8.379 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.5328, allocations: 12 kB / 1.393 GB, free: 8.367 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.5331, allocations: 71.91 kB / 1.393 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.5331, allocations: 19.86 kB / 1.393 GB, free: 8.277 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.5335, allocations: 47.62 kB / 1.393 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.5335, allocations: 20 kB / 1.393 GB, free: 8.211 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.000307/0.5338, allocations: 209.7 kB / 1.393 GB, free: 7.996 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.534, allocations: 71.52 kB / 1.393 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.5347, allocations: 334.7 kB / 1.394 GB, free: 7.59 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.5347, allocations: 12.02 kB / 1.394 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5347, allocations: 0 / 1.394 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005665/0.5353, allocations: 486.5 kB / 1.394 GB, free: 7.035 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5369, allocations: 0.9657 MB / 1.395 GB, free: 6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5369, allocations: 3.938 kB / 1.395 GB, free: 5.996 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.5372, allocations: 48.03 kB / 1.395 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.5372, allocations: 4 kB / 1.395 GB, free: 5.945 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5372, allocations: 12 kB / 1.395 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5372, allocations: 0 / 1.395 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5372, allocations: 4 kB / 1.395 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.5381, allocations: 0.5457 MB / 1.396 GB, free: 5.359 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.5384, allocations: 176.6 kB / 1.396 GB, free: 5.168 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5385, allocations: 8 kB / 1.396 GB, free: 5.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.5388, allocations: 7.984 kB / 1.396 GB, free: 5.152 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.5389, allocations: 15.98 kB / 1.396 GB, free: 5.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.5389, allocations: 11.98 kB / 1.396 GB, free: 5.125 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006668/0.5396, allocations: 475 kB / 1.396 GB, free: 4.664 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.5396, allocations: 4.062 kB / 1.396 GB, free: 4.66 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000837/0.5404, allocations: 215.5 kB / 1.397 GB, free: 4.449 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.0007094/0.5411, allocations: 278.8 kB / 1.397 GB, free: 4.164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005999/0.5417, allocations: 250.6 kB / 1.397 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5417, allocations: 0 / 1.397 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.5419, allocations: 117.7 kB / 1.397 GB, free: 3.809 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.544, allocations: 441.8 kB / 1.398 GB, free: 3.391 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.5462, allocations: 1.087 MB / 1.399 GB, free: 2.258 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.5468, allocations: 0.9057 MB / 1.4 GB, free: 1.324 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005146/0.5474, allocations: 129.7 kB / 1.4 GB, free: 1.195 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5475, allocations: 59.36 kB / 1.4 GB, free: 1.137 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/0.5475, allocations: 0 / 1.4 GB, free: 1.137 MB / 1.092 GB Notification: Performance of Templates: time 0.02994/0.5774, allocations: 14.14 MB / 1.414 GB, free: 3.176 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/jenkins/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: 9.752627012785524]