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.001254/0.001254, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001357/0.001357, allocations: 222.7 kB / 22.26 MB, free: 5.191 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 8.02 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.009/3.009, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.001861/0.001861, allocations: 67.8 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2949, allocations: 176.1 MB / 1.326 GB, free: 1.449 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.04447/0.3394, allocations: 42.6 MB / 1.368 GB, free: 6.699 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3553, allocations: 11.28 MB / 1.379 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3566, allocations: 71.38 kB / 1.379 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.3577, allocations: 433.1 kB / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.3605, allocations: 1.236 MB / 1.381 GB, free: 9.648 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3623, allocations: 0.778 MB / 1.381 GB, free: 8.875 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.3648, allocations: 2.124 MB / 1.383 GB, free: 6.738 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008502/0.3657, allocations: 0.5247 MB / 1.384 GB, free: 6.203 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.3678, allocations: 1.008 MB / 1.385 GB, free: 5.195 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.3686, allocations: 0.5872 MB / 1.386 GB, free: 4.605 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.3687, allocations: 63.94 kB / 1.386 GB, free: 4.543 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3701, allocations: 0.6862 MB / 1.386 GB, free: 3.855 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3703, allocations: 187.2 kB / 1.386 GB, free: 3.672 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.3707, allocations: 390.2 kB / 1.387 GB, free: 3.289 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3724, allocations: 1.292 MB / 1.388 GB, free: 1.992 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.3724, allocations: 4 kB / 1.388 GB, free: 1.988 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3724, allocations: 0 / 1.388 GB, free: 1.988 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3725, allocations: 0 / 1.388 GB, free: 1.988 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.001639/0.3741, allocations: 0.9985 MB / 1.389 GB, free: 0.957 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3741, allocations: 12.03 kB / 1.389 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3743, allocations: 88.42 kB / 1.389 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3754, allocations: 0.6441 MB / 1.39 GB, free: 192 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3755, allocations: 45.31 kB / 1.39 GB, free: 148 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.3756, allocations: 55.94 kB / 1.39 GB, free: 92 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/0.3764, allocations: 0.5547 MB / 1.39 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3765, allocations: 7.938 kB / 1.39 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.3765, allocations: 20 kB / 1.39 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.3765, allocations: 16 kB / 1.39 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.3772, allocations: 379.7 kB / 1.391 GB, free: 15.09 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.003047/0.3802, allocations: 2.599 MB / 1.393 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.3808, allocations: 222.6 kB / 1.394 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.381, allocations: 120.7 kB / 1.394 GB, free: 11.97 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.3826, allocations: 0.8196 MB / 1.394 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3826, allocations: 34.56 kB / 1.395 GB, free: 11.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.3826, allocations: 4 kB / 1.395 GB, free: 11.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0006368/0.3832, allocations: 326.6 kB / 1.395 GB, free: 10.76 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3833, allocations: 55.34 kB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.384, allocations: 0.6372 MB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3841, allocations: 33.7 kB / 1.396 GB, free: 10.01 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.3844, allocations: 359.9 kB / 1.396 GB, free: 9.652 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.3844, allocations: 71.42 kB / 1.396 GB, free: 9.582 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3845, allocations: 85.38 kB / 1.396 GB, free: 9.492 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3847, allocations: 374.8 kB / 1.396 GB, free: 9.117 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3849, allocations: 87.95 kB / 1.396 GB, free: 9.031 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.3852, allocations: 238.8 kB / 1.397 GB, free: 8.734 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.3857, allocations: 343.5 kB / 1.397 GB, free: 8.336 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3857, allocations: 4 kB / 1.397 GB, free: 8.332 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006458/0.3863, allocations: 410.8 kB / 1.397 GB, free: 7.926 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3863, allocations: 4.062 kB / 1.397 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3863, allocations: 19.92 kB / 1.397 GB, free: 7.902 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3864, allocations: 4 kB / 1.397 GB, free: 7.898 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3866, allocations: 79.88 kB / 1.398 GB, free: 7.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3866, allocations: 4 kB / 1.398 GB, free: 7.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.3869, allocations: 59.55 kB / 1.398 GB, free: 7.758 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.387, allocations: 19.98 kB / 1.398 GB, free: 7.738 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.0002576/0.3872, allocations: 209.7 kB / 1.398 GB, free: 7.523 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3873, allocations: 71.52 kB / 1.398 GB, free: 7.453 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.3879, allocations: 347.9 kB / 1.398 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.388, allocations: 4 kB / 1.398 GB, free: 7.105 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.388, allocations: 0 / 1.398 GB, free: 7.105 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005012/0.3885, allocations: 490.5 kB / 1.399 GB, free: 6.559 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.3898, allocations: 0.9299 MB / 1.4 GB, free: 5.566 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3898, allocations: 11.97 kB / 1.4 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.39, allocations: 43.91 kB / 1.4 GB, free: 5.512 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.39, allocations: 0 / 1.4 GB, free: 5.512 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.39, allocations: 8 kB / 1.4 GB, free: 5.504 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.39, allocations: 0 / 1.4 GB, free: 5.504 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.39, allocations: 4 kB / 1.4 GB, free: 5.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.3908, allocations: 0.5555 MB / 1.4 GB, free: 4.918 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.391, allocations: 107.5 kB / 1.4 GB, free: 4.812 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.3911, allocations: 4 kB / 1.4 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.3913, allocations: 8 kB / 1.4 GB, free: 4.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3914, allocations: 19.97 kB / 1.4 GB, free: 4.781 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.3914, allocations: 11.98 kB / 1.4 GB, free: 4.77 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005549/0.3919, allocations: 471.1 kB / 1.401 GB, free: 4.312 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.3919, allocations: 0 / 1.401 GB, free: 4.312 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006702/0.3926, allocations: 223.5 kB / 1.401 GB, free: 4.094 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.000465/0.3931, allocations: 286.7 kB / 1.401 GB, free: 3.801 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.3935, allocations: 246.4 kB / 1.402 GB, free: 3.562 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3936, allocations: 8.125 kB / 1.402 GB, free: 3.555 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3937, allocations: 113.5 kB / 1.402 GB, free: 3.445 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.3954, allocations: 432.7 kB / 1.402 GB, free: 3.039 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3971, allocations: 1.108 MB / 1.403 GB, free: 1.891 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.3977, allocations: 0.9057 MB / 1.404 GB, free: 0.957 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.398, allocations: 137.6 kB / 1.404 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3981, allocations: 55.42 kB / 1.404 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of SimCode: time 2.81e-07/0.3981, allocations: 0 / 1.404 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of Templates: time 0.02562/0.4238, allocations: 14.35 MB / 1.418 GB, free: 2.602 MB / 1.107 GB " [Timeout remaining time 300] 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: 8.512745120096952]