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.00158/0.00158, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002594/0.002594, allocations: 219.8 kB / 22.99 MB, free: 4.914 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.178/3.178, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.002073/0.002073, allocations: 72.41 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 176.1 MB / 1.326 GB, free: 1.895 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.06033/0.4137, allocations: 38.56 MB / 1.364 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.4336, allocations: 10.42 MB / 1.374 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.4355, allocations: 71.38 kB / 1.374 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.4371, allocations: 429.2 kB / 1.375 GB, free: 256 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.4411, allocations: 1.213 MB / 1.376 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.4433, allocations: 0.7569 MB / 1.377 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.4463, allocations: 2.104 MB / 1.379 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008243/0.4471, allocations: 0.5168 MB / 1.379 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.4495, allocations: 1.018 MB / 1.38 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.4504, allocations: 0.5639 MB / 1.381 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.4505, allocations: 60 kB / 1.381 GB, free: 9.992 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4518, allocations: 0.5146 MB / 1.381 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.452, allocations: 191.2 kB / 1.381 GB, free: 9.289 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.4524, allocations: 326.5 kB / 1.382 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.4541, allocations: 1.261 MB / 1.383 GB, free: 7.703 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4541, allocations: 0 / 1.383 GB, free: 7.703 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4541, allocations: 0 / 1.383 GB, free: 7.703 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4541, allocations: 0 / 1.383 GB, free: 7.703 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.001798/0.4559, allocations: 1.006 MB / 1.384 GB, free: 6.664 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.456, allocations: 8.031 kB / 1.384 GB, free: 6.656 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.4562, allocations: 96.34 kB / 1.384 GB, free: 6.562 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.4575, allocations: 0.6363 MB / 1.385 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.4575, allocations: 41.38 kB / 1.385 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.4576, allocations: 51.94 kB / 1.385 GB, free: 5.812 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.4586, allocations: 0.6339 MB / 1.385 GB, free: 5.121 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4586, allocations: 3.938 kB / 1.385 GB, free: 5.117 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.4587, allocations: 20 kB / 1.385 GB, free: 5.098 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.4587, allocations: 16 kB / 1.385 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.4594, allocations: 379.7 kB / 1.386 GB, free: 4.715 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.002803/0.4622, allocations: 1.974 MB / 1.388 GB, free: 2.676 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.4628, allocations: 227.7 kB / 1.388 GB, free: 2.445 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.463, allocations: 112.8 kB / 1.388 GB, free: 2.332 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/0.4647, allocations: 0.7224 MB / 1.389 GB, free: 1.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4647, allocations: 34.56 kB / 1.389 GB, free: 1.547 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.4647, allocations: 4 kB / 1.389 GB, free: 1.543 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006876/0.4654, allocations: 311.4 kB / 1.389 GB, free: 1.234 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.4654, allocations: 55.41 kB / 1.389 GB, free: 1.168 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.4661, allocations: 0.5065 MB / 1.39 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4661, allocations: 29.7 kB / 1.39 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.4664, allocations: 367.8 kB / 1.39 GB, free: 256 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.4665, allocations: 75.36 kB / 1.39 GB, free: 180 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4666, allocations: 81.59 kB / 1.39 GB, free: 92 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4668, allocations: 358.8 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.467, allocations: 87.73 kB / 1.391 GB, free: 15.64 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.4673, allocations: 344.5 kB / 1.391 GB, free: 15.22 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.4678, allocations: 343.2 kB / 1.391 GB, free: 14.82 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4678, allocations: 4 kB / 1.391 GB, free: 14.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006512/0.4685, allocations: 391.2 kB / 1.392 GB, free: 14.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4685, allocations: 11.94 kB / 1.392 GB, free: 14.42 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4685, allocations: 7.938 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4685, allocations: 8.625 kB / 1.392 GB, free: 14.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4688, allocations: 83.88 kB / 1.392 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4688, allocations: 8 kB / 1.392 GB, free: 14.31 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.4691, allocations: 39.7 kB / 1.392 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.4692, allocations: 23.98 kB / 1.392 GB, free: 14.25 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.0002735/0.4694, allocations: 209.7 kB / 1.392 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.4695, allocations: 59.56 kB / 1.392 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.4701, allocations: 321.2 kB / 1.392 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4701, allocations: 3.984 kB / 1.392 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4702, allocations: 0 / 1.392 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005467/0.4707, allocations: 498.5 kB / 1.393 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.472, allocations: 0.8212 MB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.472, allocations: 4 kB / 1.394 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4722, allocations: 47.91 kB / 1.394 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4722, allocations: 0 / 1.394 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4722, allocations: 7.938 kB / 1.394 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.4722, allocations: 7.984 kB / 1.394 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4722, allocations: 0 / 1.394 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.473, allocations: 0.5408 MB / 1.394 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.4732, allocations: 87.53 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.4733, allocations: 7.984 kB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4735, allocations: 4 kB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4736, allocations: 19.97 kB / 1.394 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4736, allocations: 15.92 kB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003982/0.474, allocations: 342.9 kB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.474, allocations: 0 / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007309/0.4747, allocations: 239.3 kB / 1.395 GB, free: 10.89 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.0004918/0.4752, allocations: 278.8 kB / 1.395 GB, free: 10.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.4757, allocations: 253.1 kB / 1.395 GB, free: 10.37 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4757, allocations: 0 / 1.395 GB, free: 10.37 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4759, allocations: 117.2 kB / 1.395 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4772, allocations: 290.3 kB / 1.396 GB, free: 9.984 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.479, allocations: 1.1 MB / 1.397 GB, free: 8.836 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4793, allocations: 307.7 kB / 1.397 GB, free: 8.508 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.4795, allocations: 55.41 kB / 1.397 GB, free: 8.453 MB / 1.092 GB Notification: Performance of SimCode: time 4.1e-07/0.4795, allocations: 0 / 1.397 GB, free: 8.453 MB / 1.092 GB Notification: Performance of Templates: time 0.01571/0.4952, allocations: 10.38 MB / 1.407 GB, free: 14.15 MB / 1.107 GB " [Timeout remaining time 299] 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.928717441856861]