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.001599/0.001599, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001796/0.001796, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002012/0.002012, allocations: 66.36 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2971, allocations: 176.1 MB / 1.327 GB, free: 1.012 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.04498/0.342, allocations: 38.57 MB / 1.365 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.358, allocations: 10.41 MB / 1.375 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.3595, allocations: 71.38 kB / 1.375 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.3607, allocations: 429.2 kB / 1.375 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.3638, allocations: 1.224 MB / 1.377 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.3656, allocations: 0.7612 MB / 1.377 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.3681, allocations: 2.12 MB / 1.379 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.3689, allocations: 0.5325 MB / 1.38 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3712, allocations: 1.016 MB / 1.381 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.372, allocations: 0.5873 MB / 1.381 GB, free: 9.105 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3721, allocations: 60 kB / 1.382 GB, free: 9.047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.3733, allocations: 0.5263 MB / 1.382 GB, free: 8.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3735, allocations: 191.2 kB / 1.382 GB, free: 8.332 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.3738, allocations: 322.6 kB / 1.383 GB, free: 8.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.3756, allocations: 1.265 MB / 1.384 GB, free: 6.746 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3756, allocations: 0 / 1.384 GB, free: 6.746 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3756, allocations: 0 / 1.384 GB, free: 6.746 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.3756, allocations: 0 / 1.384 GB, free: 6.746 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.001797/0.3774, allocations: 1 MB / 1.385 GB, free: 5.715 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3775, allocations: 8.031 kB / 1.385 GB, free: 5.707 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.3777, allocations: 88.42 kB / 1.385 GB, free: 5.621 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.3789, allocations: 0.6402 MB / 1.385 GB, free: 4.953 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.3789, allocations: 45.31 kB / 1.385 GB, free: 4.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.379, allocations: 55.89 kB / 1.386 GB, free: 4.855 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3801, allocations: 0.6417 MB / 1.386 GB, free: 4.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3801, allocations: 3.938 kB / 1.386 GB, free: 4.156 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.3801, allocations: 20 kB / 1.386 GB, free: 4.137 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.3802, allocations: 16 kB / 1.386 GB, free: 4.121 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.3808, allocations: 371.7 kB / 1.387 GB, free: 3.762 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.002747/0.3836, allocations: 1.978 MB / 1.388 GB, free: 1.719 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.3842, allocations: 222.6 kB / 1.389 GB, free: 1.492 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3844, allocations: 112.8 kB / 1.389 GB, free: 1.379 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.3861, allocations: 0.7302 MB / 1.39 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3861, allocations: 34.56 kB / 1.39 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3861, allocations: 0 / 1.39 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006505/0.3868, allocations: 309.1 kB / 1.39 GB, free: 284 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3868, allocations: 51.41 kB / 1.39 GB, free: 220 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.3874, allocations: 0.5026 MB / 1.39 GB, free: 15.7 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.3875, allocations: 33.7 kB / 1.39 GB, free: 15.66 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.3877, allocations: 359.9 kB / 1.391 GB, free: 15.3 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3878, allocations: 83.3 kB / 1.391 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3879, allocations: 85.59 kB / 1.391 GB, free: 15.13 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3881, allocations: 358.8 kB / 1.391 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.3883, allocations: 87.73 kB / 1.391 GB, free: 14.69 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.3887, allocations: 344.5 kB / 1.392 GB, free: 14.26 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.3892, allocations: 343 kB / 1.392 GB, free: 13.86 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3892, allocations: 4 kB / 1.392 GB, free: 13.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006748/0.3898, allocations: 394.9 kB / 1.392 GB, free: 13.47 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3899, allocations: 11.94 kB / 1.392 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3899, allocations: 8 kB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3899, allocations: 8 kB / 1.392 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.3901, allocations: 75.84 kB / 1.392 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.3902, allocations: 8 kB / 1.393 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3904, allocations: 35.77 kB / 1.393 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3905, allocations: 20 kB / 1.393 GB, free: 13.3 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.0002634/0.3907, allocations: 217.9 kB / 1.393 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3909, allocations: 55.61 kB / 1.393 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.3915, allocations: 333.1 kB / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3915, allocations: 7.969 kB / 1.393 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3915, allocations: 0 / 1.393 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005378/0.3921, allocations: 492.3 kB / 1.394 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3934, allocations: 0.8245 MB / 1.394 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3934, allocations: 4.125 kB / 1.394 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3936, allocations: 43.92 kB / 1.394 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3936, allocations: 0 / 1.394 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3936, allocations: 15.92 kB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3937, allocations: 4 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3937, allocations: 0 / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/0.3944, allocations: 0.5357 MB / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3946, allocations: 87.53 kB / 1.395 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.3947, allocations: 4 kB / 1.395 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3949, allocations: 8 kB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.395, allocations: 20.03 kB / 1.395 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.395, allocations: 15.98 kB / 1.395 GB, free: 10.51 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004145/0.3954, allocations: 346.8 kB / 1.395 GB, free: 10.17 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 0 / 1.395 GB, free: 10.17 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007535/0.3962, allocations: 235.3 kB / 1.396 GB, free: 9.941 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.0004997/0.3967, allocations: 286.6 kB / 1.396 GB, free: 9.652 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.3972, allocations: 252.8 kB / 1.396 GB, free: 9.406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3972, allocations: 0 / 1.396 GB, free: 9.406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3974, allocations: 111.8 kB / 1.396 GB, free: 9.297 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.3987, allocations: 302.6 kB / 1.397 GB, free: 9.02 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.4005, allocations: 1.064 MB / 1.398 GB, free: 7.914 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4008, allocations: 307.7 kB / 1.398 GB, free: 7.586 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.4012, allocations: 112.5 kB / 1.398 GB, free: 7.473 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.4013, allocations: 51.42 kB / 1.398 GB, free: 7.422 MB / 1.092 GB Notification: Performance of SimCode: time 3.51e-07/0.4013, allocations: 0 / 1.398 GB, free: 7.422 MB / 1.092 GB Notification: Performance of Templates: time 0.02158/0.4228, allocations: 12.08 MB / 1.41 GB, free: 11.58 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 -s gbode -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: 8.865170852004667]