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.001615/0.001615, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.0018/0.0018, allocations: 206.2 kB / 23 MB, free: 4.934 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002016/0.002016, allocations: 63.42 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2927, allocations: 176.1 MB / 1.327 GB, free: 1 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.04568/0.3384, allocations: 38.56 MB / 1.365 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3543, allocations: 10.42 MB / 1.375 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.3558, allocations: 67.44 kB / 1.375 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.357, allocations: 425.1 kB / 1.375 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.3602, allocations: 1.233 MB / 1.377 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3622, allocations: 0.7589 MB / 1.377 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.3651, allocations: 2.132 MB / 1.379 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.3659, allocations: 0.5247 MB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.3682, allocations: 1.016 MB / 1.381 GB, free: 9.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007744/0.3689, allocations: 0.5912 MB / 1.381 GB, free: 9.086 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.369, allocations: 60 kB / 1.382 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3702, allocations: 0.5302 MB / 1.382 GB, free: 8.496 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.3704, allocations: 191.2 kB / 1.382 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.3708, allocations: 318.5 kB / 1.383 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3725, allocations: 1.269 MB / 1.384 GB, free: 6.723 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3725, allocations: 0 / 1.384 GB, free: 6.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3725, allocations: 0 / 1.384 GB, free: 6.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3725, allocations: 0 / 1.384 GB, free: 6.723 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.001834/0.3744, allocations: 0.9985 MB / 1.385 GB, free: 5.691 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3744, allocations: 12.03 kB / 1.385 GB, free: 5.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.3747, allocations: 92.41 kB / 1.385 GB, free: 5.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3759, allocations: 0.6324 MB / 1.385 GB, free: 4.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.376, allocations: 37.38 kB / 1.386 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.3761, allocations: 63.89 kB / 1.386 GB, free: 4.832 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3771, allocations: 0.6339 MB / 1.386 GB, free: 4.145 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3771, allocations: 0 / 1.386 GB, free: 4.145 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.3772, allocations: 16 kB / 1.386 GB, free: 4.129 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.3772, allocations: 23.94 kB / 1.386 GB, free: 4.105 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.3779, allocations: 375.7 kB / 1.387 GB, free: 3.742 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.002812/0.3807, allocations: 1.97 MB / 1.389 GB, free: 1.707 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.3813, allocations: 222.6 kB / 1.389 GB, free: 1.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3815, allocations: 120.8 kB / 1.389 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.3833, allocations: 0.7263 MB / 1.39 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3833, allocations: 34.56 kB / 1.39 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3833, allocations: 0 / 1.39 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006655/0.384, allocations: 310.3 kB / 1.39 GB, free: 268 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.384, allocations: 59.41 kB / 1.39 GB, free: 196 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.3846, allocations: 0.4988 MB / 1.39 GB, free: 15.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.3847, allocations: 29.7 kB / 1.39 GB, free: 15.64 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.385, allocations: 363.9 kB / 1.391 GB, free: 15.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.385, allocations: 75.33 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3852, allocations: 81.59 kB / 1.391 GB, free: 15.12 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3853, allocations: 362.7 kB / 1.391 GB, free: 14.76 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3855, allocations: 99.66 kB / 1.391 GB, free: 14.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3859, allocations: 336.5 kB / 1.392 GB, free: 14.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3864, allocations: 344.7 kB / 1.392 GB, free: 13.85 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3864, allocations: 4 kB / 1.392 GB, free: 13.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006844/0.3871, allocations: 392.8 kB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3871, allocations: 8 kB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3871, allocations: 7.938 kB / 1.392 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3871, allocations: 8 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3874, allocations: 79.83 kB / 1.393 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.3874, allocations: 8.594 kB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3877, allocations: 35.78 kB / 1.393 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.3878, allocations: 23.98 kB / 1.393 GB, free: 13.29 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.0002636/0.388, allocations: 209.6 kB / 1.393 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3881, allocations: 55.66 kB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.3888, allocations: 324.7 kB / 1.393 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005413/0.3893, allocations: 496.6 kB / 1.394 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3893, allocations: 0 / 1.394 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3895, allocations: 87.56 kB / 1.394 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.3896, allocations: 3.984 kB / 1.394 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3898, allocations: 12 kB / 1.394 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3898, allocations: 15.97 kB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000666/0.3905, allocations: 360.7 kB / 1.394 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008114/0.3913, allocations: 0.6034 MB / 1.395 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001949/0.3915, allocations: 115.8 kB / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004107/0.3919, allocations: 342.9 kB / 1.395 GB, free: 10.6 MB / 1.092 GB Notification: Performance of Backend: time 4.31e-07/0.3919, allocations: 0 / 1.395 GB, free: 10.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3932, allocations: 459.5 kB / 1.396 GB, free: 10.15 MB / 1.092 GB Notification: Performance of SimCode: time 0.002731/0.3959, allocations: 1.694 MB / 1.397 GB, free: 8.418 MB / 1.092 GB Notification: Performance of Templates: time 0.02232/0.4182, allocations: 12.75 MB / 1.41 GB, free: 11.88 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: 8.94121546700626]