Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.032/3.032, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 75.59 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.04455/0.3645, allocations: 42.4 MB / 1.357 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3812, allocations: 11.25 MB / 1.368 GB, free: 3.914 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.383, allocations: 75.38 kB / 1.368 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3842, allocations: 445.1 kB / 1.369 GB, free: 3.402 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.3874, allocations: 1.24 MB / 1.37 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.3894, allocations: 0.7742 MB / 1.371 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3923, allocations: 2.112 MB / 1.373 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.3931, allocations: 0.5287 MB / 1.373 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.3951, allocations: 1 MB / 1.374 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/0.3958, allocations: 0.5834 MB / 1.375 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.3959, allocations: 64 kB / 1.375 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.3972, allocations: 0.6589 MB / 1.376 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3974, allocations: 187.2 kB / 1.376 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.3978, allocations: 398.1 kB / 1.376 GB, free: 11.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.3995, allocations: 1.265 MB / 1.377 GB, free: 10.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3995, allocations: 0 / 1.377 GB, free: 10.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3995, allocations: 4 kB / 1.377 GB, free: 10.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.3995, allocations: 0 / 1.377 GB, free: 10.57 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.001644/0.4011, allocations: 1.002 MB / 1.378 GB, free: 9.539 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4012, allocations: 8.031 kB / 1.378 GB, free: 9.531 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4014, allocations: 92.41 kB / 1.379 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4026, allocations: 0.648 MB / 1.379 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.4026, allocations: 37.38 kB / 1.379 GB, free: 8.734 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.4027, allocations: 55.94 kB / 1.379 GB, free: 8.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.4036, allocations: 0.5586 MB / 1.38 GB, free: 8.086 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4036, allocations: 3.938 kB / 1.38 GB, free: 8.082 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.4037, allocations: 20 kB / 1.38 GB, free: 8.062 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.4037, allocations: 16 kB / 1.38 GB, free: 8.047 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.4043, allocations: 379.7 kB / 1.38 GB, free: 7.676 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.00291/0.4072, allocations: 2.599 MB / 1.383 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.4078, allocations: 226.6 kB / 1.383 GB, free: 4.676 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.408, allocations: 117.4 kB / 1.383 GB, free: 4.559 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.4096, allocations: 0.8118 MB / 1.384 GB, free: 3.727 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4097, allocations: 38.56 kB / 1.384 GB, free: 3.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.4097, allocations: 0 / 1.384 GB, free: 3.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006353/0.4103, allocations: 330.5 kB / 1.384 GB, free: 3.352 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4103, allocations: 59.34 kB / 1.384 GB, free: 3.281 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.4111, allocations: 0.6371 MB / 1.385 GB, free: 2.633 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4111, allocations: 29.7 kB / 1.385 GB, free: 2.598 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.4114, allocations: 352 kB / 1.385 GB, free: 2.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.4115, allocations: 79.31 kB / 1.385 GB, free: 2.172 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4116, allocations: 81.64 kB / 1.385 GB, free: 2.086 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.4118, allocations: 370.8 kB / 1.386 GB, free: 1.715 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.4119, allocations: 87.95 kB / 1.386 GB, free: 1.629 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.4122, allocations: 237.9 kB / 1.386 GB, free: 1.332 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.4127, allocations: 339.4 kB / 1.386 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4127, allocations: 4 kB / 1.386 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006255/0.4133, allocations: 408.6 kB / 1.387 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4133, allocations: 10.03 kB / 1.387 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.4133, allocations: 4.625 kB / 1.387 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.4134, allocations: 15.98 kB / 1.387 GB, free: 0.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.4136, allocations: 71.84 kB / 1.387 GB, free: 440 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4136, allocations: 8 kB / 1.387 GB, free: 432 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.4139, allocations: 71.44 kB / 1.387 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.4139, allocations: 12 kB / 1.387 GB, free: 348 kB / 1.076 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.0002478/0.4142, allocations: 217.7 kB / 1.387 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4143, allocations: 71.52 kB / 1.387 GB, free: 48 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.4149, allocations: 341.4 kB / 1.388 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.415, allocations: 4 kB / 1.388 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.415, allocations: 0 / 1.388 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005567/0.4155, allocations: 495.6 kB / 1.388 GB, free: 15.15 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.4169, allocations: 0.9343 MB / 1.389 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4169, allocations: 3.938 kB / 1.389 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4171, allocations: 52.03 kB / 1.389 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4171, allocations: 3.938 kB / 1.389 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.4171, allocations: 7.984 kB / 1.389 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4171, allocations: 4 kB / 1.389 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4171, allocations: 0 / 1.389 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.4179, allocations: 0.5486 MB / 1.39 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.4181, allocations: 111.4 kB / 1.39 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.4182, allocations: 4 kB / 1.39 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4184, allocations: 11.98 kB / 1.39 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4185, allocations: 15.97 kB / 1.39 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.4185, allocations: 8 kB / 1.39 GB, free: 13.36 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005486/0.419, allocations: 467 kB / 1.39 GB, free: 12.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.419, allocations: 4.062 kB / 1.39 GB, free: 12.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006763/0.4197, allocations: 219.5 kB / 1.39 GB, free: 12.69 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.0006243/0.4204, allocations: 305.7 kB / 1.391 GB, free: 12.39 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.4208, allocations: 252.2 kB / 1.391 GB, free: 12.14 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4208, allocations: 0 / 1.391 GB, free: 12.14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.421, allocations: 117.5 kB / 1.391 GB, free: 12.03 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.4227, allocations: 436.2 kB / 1.391 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4244, allocations: 1.096 MB / 1.393 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.4249, allocations: 0.9094 MB / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.4253, allocations: 141.6 kB / 1.394 GB, free: 9.398 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4254, allocations: 51.42 kB / 1.394 GB, free: 9.348 MB / 1.092 GB Notification: Performance of SimCode: time 3.71e-07/0.4254, allocations: 0 / 1.394 GB, free: 9.348 MB / 1.092 GB Notification: Performance of Templates: time 0.02617/0.4515, allocations: 14.38 MB / 1.408 GB, free: 11.15 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.621323297731578]