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.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.001219/0.001219, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001325/0.001325, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.306/1.306, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.879/2.879, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001835/0.001835, allocations: 75.59 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2869, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.04283/0.3298, allocations: 42.59 MB / 1.396 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.3447, allocations: 11.27 MB / 1.407 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.346, allocations: 67.44 kB / 1.407 GB, free: 1.875 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.347, allocations: 445 kB / 1.407 GB, free: 1.438 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.3498, allocations: 1.24 MB / 1.408 GB, free: 196 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3515, allocations: 0.78 MB / 1.409 GB, free: 15.42 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.3539, allocations: 2.116 MB / 1.411 GB, free: 13.29 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.3547, allocations: 0.5247 MB / 1.412 GB, free: 12.75 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.3566, allocations: 1.013 MB / 1.413 GB, free: 11.73 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.3573, allocations: 0.5873 MB / 1.413 GB, free: 11.14 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.3574, allocations: 64 kB / 1.413 GB, free: 11.08 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3587, allocations: 0.6745 MB / 1.414 GB, free: 10.41 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3588, allocations: 195.2 kB / 1.414 GB, free: 10.21 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.3592, allocations: 398.2 kB / 1.415 GB, free: 9.824 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.3608, allocations: 1.292 MB / 1.416 GB, free: 8.527 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3608, allocations: 0 / 1.416 GB, free: 8.527 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3608, allocations: 0 / 1.416 GB, free: 8.527 MB / 1.108 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3608, allocations: 0 / 1.416 GB, free: 8.527 MB / 1.108 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.001567/0.3624, allocations: 1.002 MB / 1.417 GB, free: 7.492 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.3624, allocations: 8.031 kB / 1.417 GB, free: 7.484 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.3626, allocations: 88.42 kB / 1.417 GB, free: 7.398 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3637, allocations: 0.6363 MB / 1.418 GB, free: 6.742 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.3637, allocations: 41.38 kB / 1.418 GB, free: 6.703 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.3638, allocations: 51.94 kB / 1.418 GB, free: 6.652 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.3647, allocations: 0.5663 MB / 1.418 GB, free: 6.051 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3647, allocations: 3.984 kB / 1.418 GB, free: 6.047 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.3648, allocations: 24 kB / 1.418 GB, free: 6.023 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3648, allocations: 15.94 kB / 1.418 GB, free: 6.008 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/0.3654, allocations: 379.7 kB / 1.419 GB, free: 5.637 MB / 1.108 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.002893/0.3683, allocations: 2.599 MB / 1.421 GB, free: 2.867 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3688, allocations: 233.8 kB / 1.421 GB, free: 2.633 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.369, allocations: 116.7 kB / 1.421 GB, free: 2.516 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.3706, allocations: 0.8236 MB / 1.422 GB, free: 1.672 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3706, allocations: 30.56 kB / 1.422 GB, free: 1.633 MB / 1.108 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.3706, allocations: 0 / 1.422 GB, free: 1.633 MB / 1.108 GB Notification: Performance of matching and sorting (n=20): time 0.0006241/0.3712, allocations: 326.8 kB / 1.423 GB, free: 1.309 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3713, allocations: 59.34 kB / 1.423 GB, free: 1.238 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.372, allocations: 0.6333 MB / 1.423 GB, free: 0.5938 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3721, allocations: 37.7 kB / 1.423 GB, free: 0.5508 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.3723, allocations: 356 kB / 1.424 GB, free: 204 kB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.3724, allocations: 79.36 kB / 1.424 GB, free: 124 kB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3725, allocations: 77.64 kB / 1.424 GB, free: 40 kB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3727, allocations: 370.8 kB / 1.424 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3729, allocations: 83.95 kB / 1.424 GB, free: 15.58 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.3731, allocations: 241.9 kB / 1.424 GB, free: 15.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3736, allocations: 339.4 kB / 1.425 GB, free: 14.89 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3736, allocations: 0 / 1.425 GB, free: 14.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006134/0.3742, allocations: 413.2 kB / 1.425 GB, free: 14.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3742, allocations: 8 kB / 1.425 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3742, allocations: 7.938 kB / 1.425 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3742, allocations: 8 kB / 1.425 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3745, allocations: 79.78 kB / 1.425 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3745, allocations: 16.53 kB / 1.425 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.3748, allocations: 55.56 kB / 1.425 GB, free: 14.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3748, allocations: 20 kB / 1.425 GB, free: 14.29 MB / 1.123 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.000235/0.3751, allocations: 217.6 kB / 1.426 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3752, allocations: 71.52 kB / 1.426 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.3757, allocations: 335.8 kB / 1.426 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.3757, allocations: 7.984 kB / 1.426 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3757, allocations: 0 / 1.426 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004898/0.3762, allocations: 490.6 kB / 1.426 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3775, allocations: 0.9403 MB / 1.427 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3775, allocations: 7.922 kB / 1.427 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3777, allocations: 39.92 kB / 1.427 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3777, allocations: 4 kB / 1.427 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3777, allocations: 11.98 kB / 1.427 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3777, allocations: 128 / 1.427 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3777, allocations: 4 kB / 1.427 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.3785, allocations: 0.5545 MB / 1.428 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3787, allocations: 95.47 kB / 1.428 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.3787, allocations: 16.05 kB / 1.428 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.379, allocations: 7.953 kB / 1.428 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.379, allocations: 19.97 kB / 1.428 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.379, allocations: 11.98 kB / 1.428 GB, free: 11.3 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005234/0.3796, allocations: 467 kB / 1.429 GB, free: 10.85 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 4 kB / 1.429 GB, free: 10.85 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006094/0.3802, allocations: 211.6 kB / 1.429 GB, free: 10.64 MB / 1.123 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.0004248/0.3806, allocations: 282.7 kB / 1.429 GB, free: 10.35 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.3811, allocations: 256.8 kB / 1.429 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3811, allocations: 0 / 1.429 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3812, allocations: 111.1 kB / 1.429 GB, free: 9.996 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.383, allocations: 428.2 kB / 1.43 GB, free: 9.59 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.3846, allocations: 1.139 MB / 1.431 GB, free: 8.402 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3851, allocations: 0.9018 MB / 1.432 GB, free: 7.473 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3852, allocations: 59.41 kB / 1.432 GB, free: 7.418 MB / 1.123 GB Notification: Performance of SimCode: time 2.81e-07/0.3852, allocations: 0 / 1.432 GB, free: 7.418 MB / 1.123 GB Notification: Performance of Templates: time 0.01549/0.4007, allocations: 11.84 MB / 1.443 GB, free: 11.68 MB / 1.139 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/jenkins1/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: 11.880488205992151]