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.001622/0.001622, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002041/0.002041, allocations: 217.1 kB / 23.04 MB, free: 4.863 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002009/0.002009, allocations: 71.86 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 176.1 MB / 1.327 GB, free: 0.9883 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.04537/0.3731, allocations: 38.58 MB / 1.365 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.3891, allocations: 10.41 MB / 1.375 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.3907, allocations: 67.44 kB / 1.375 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.392, allocations: 425.1 kB / 1.375 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.3954, allocations: 1.233 MB / 1.377 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.3973, allocations: 0.7456 MB / 1.377 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.4002, allocations: 2.116 MB / 1.379 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.401, allocations: 0.5092 MB / 1.38 GB, free: 10.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.4036, allocations: 1.032 MB / 1.381 GB, free: 9.691 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.4047, allocations: 0.556 MB / 1.381 GB, free: 9.133 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.4049, allocations: 60 kB / 1.382 GB, free: 9.074 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.4064, allocations: 0.5146 MB / 1.382 GB, free: 8.559 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.4066, allocations: 191.2 kB / 1.382 GB, free: 8.371 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.407, allocations: 330.5 kB / 1.383 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4088, allocations: 1.253 MB / 1.384 GB, free: 6.789 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4088, allocations: 0 / 1.384 GB, free: 6.789 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4088, allocations: 0 / 1.384 GB, free: 6.789 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.4088, allocations: 0 / 1.384 GB, free: 6.789 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.001764/0.4106, allocations: 1.006 MB / 1.385 GB, free: 5.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4106, allocations: 8.031 kB / 1.385 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.4109, allocations: 96.42 kB / 1.385 GB, free: 5.648 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.412, allocations: 0.6285 MB / 1.385 GB, free: 4.996 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.4121, allocations: 45.38 kB / 1.386 GB, free: 4.953 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.4122, allocations: 55.89 kB / 1.386 GB, free: 4.898 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.4131, allocations: 0.6339 MB / 1.386 GB, free: 4.207 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4132, allocations: 0 / 1.386 GB, free: 4.207 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.4132, allocations: 24 kB / 1.386 GB, free: 4.184 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4132, allocations: 12 kB / 1.386 GB, free: 4.172 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.4139, allocations: 383.6 kB / 1.387 GB, free: 3.801 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.002641/0.4165, allocations: 1.978 MB / 1.389 GB, free: 1.758 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.4171, allocations: 222.7 kB / 1.389 GB, free: 1.531 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.4173, allocations: 118.5 kB / 1.389 GB, free: 1.414 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.4189, allocations: 0.7263 MB / 1.39 GB, free: 0.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.419, allocations: 38.55 kB / 1.39 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.419, allocations: 0 / 1.39 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006179/0.4196, allocations: 302.9 kB / 1.39 GB, free: 328 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4196, allocations: 63.33 kB / 1.39 GB, free: 252 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.4202, allocations: 0.5026 MB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4203, allocations: 33.7 kB / 1.39 GB, free: 15.69 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.4206, allocations: 359.9 kB / 1.391 GB, free: 15.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.4206, allocations: 79.3 kB / 1.391 GB, free: 15.26 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.4208, allocations: 89.53 kB / 1.391 GB, free: 15.16 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4209, allocations: 358.8 kB / 1.391 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.4211, allocations: 87.73 kB / 1.391 GB, free: 14.72 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.4215, allocations: 340.6 kB / 1.392 GB, free: 14.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.4219, allocations: 352.8 kB / 1.392 GB, free: 13.89 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4219, allocations: 0 / 1.392 GB, free: 13.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006445/0.4226, allocations: 384.8 kB / 1.392 GB, free: 13.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4226, allocations: 11.94 kB / 1.392 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4226, allocations: 4 kB / 1.392 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4226, allocations: 8 kB / 1.392 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.4229, allocations: 75.89 kB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4229, allocations: 11.94 kB / 1.393 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4232, allocations: 40.3 kB / 1.393 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.4232, allocations: 20 kB / 1.393 GB, free: 13.34 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.0002583/0.4235, allocations: 213.6 kB / 1.393 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.4236, allocations: 55.61 kB / 1.393 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.4242, allocations: 330.7 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4242, allocations: 0 / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4242, allocations: 4 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005179/0.4247, allocations: 489.5 kB / 1.394 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.426, allocations: 0.8308 MB / 1.394 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.426, allocations: 0 / 1.394 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4262, allocations: 39.97 kB / 1.394 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4262, allocations: 0 / 1.394 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4262, allocations: 19.92 kB / 1.394 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4262, allocations: 4 kB / 1.394 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4262, allocations: 7.875 kB / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.427, allocations: 0.5301 MB / 1.395 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.4271, allocations: 87.53 kB / 1.395 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.4272, allocations: 8.156 kB / 1.395 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4274, allocations: 12 kB / 1.395 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.4275, allocations: 19.94 kB / 1.395 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4275, allocations: 15.98 kB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003942/0.4279, allocations: 342.9 kB / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4279, allocations: 0 / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007208/0.4286, allocations: 235.3 kB / 1.396 GB, free: 9.977 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.0004757/0.4291, allocations: 274.8 kB / 1.396 GB, free: 9.699 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.4296, allocations: 248.1 kB / 1.396 GB, free: 9.457 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4296, allocations: 0 / 1.396 GB, free: 9.457 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.4298, allocations: 117.5 kB / 1.396 GB, free: 9.344 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.4311, allocations: 297.8 kB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4328, allocations: 1.112 MB / 1.398 GB, free: 7.914 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4331, allocations: 307.7 kB / 1.398 GB, free: 7.586 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.4333, allocations: 51.42 kB / 1.398 GB, free: 7.535 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/0.4333, allocations: 0 / 1.398 GB, free: 7.535 MB / 1.092 GB Notification: Performance of Templates: time 0.01639/0.4496, allocations: 10.37 MB / 1.408 GB, free: 13.23 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/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: 12.661889745853841]