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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001485/0.001485, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.789 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.35/3.35, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) [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: 71.7 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4077, allocations: 176.1 MB / 1.325 GB, free: 2.395 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.04606/0.4537, allocations: 38.56 MB / 1.363 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.47, allocations: 10.43 MB / 1.373 GB, free: 1.234 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.4721, allocations: 67.38 kB / 1.373 GB, free: 1.168 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.4736, allocations: 421.2 kB / 1.373 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.4774, allocations: 1.225 MB / 1.375 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.4795, allocations: 0.7496 MB / 1.375 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003161/0.4827, allocations: 2.108 MB / 1.377 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.4838, allocations: 0.5169 MB / 1.378 GB, free: 12.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.4864, allocations: 1.012 MB / 1.379 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.4877, allocations: 0.5638 MB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.4878, allocations: 64 kB / 1.379 GB, free: 10.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.4895, allocations: 0.5107 MB / 1.38 GB, free: 9.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.4898, allocations: 191.2 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006674/0.4905, allocations: 322.5 kB / 1.38 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.493, allocations: 1.261 MB / 1.382 GB, free: 8.211 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.493, allocations: 4 kB / 1.382 GB, free: 8.207 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.493, allocations: 0 / 1.382 GB, free: 8.207 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.485e-05/0.4931, allocations: 0 / 1.382 GB, free: 8.207 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.002407/0.4955, allocations: 1.002 MB / 1.383 GB, free: 7.172 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4955, allocations: 8.031 kB / 1.383 GB, free: 7.164 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.4957, allocations: 90.7 kB / 1.383 GB, free: 7.066 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.4962, allocations: 92.36 kB / 1.383 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4981, allocations: 0.6402 MB / 1.383 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.4982, allocations: 41.12 kB / 1.384 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4983, allocations: 52 kB / 1.384 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4998, allocations: 0.6339 MB / 1.384 GB, free: 5.531 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.4998, allocations: 7.922 kB / 1.384 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.4999, allocations: 20 kB / 1.384 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.4999, allocations: 16 kB / 1.384 GB, free: 5.488 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.5009, allocations: 379.7 kB / 1.385 GB, free: 5.121 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.003998/0.5049, allocations: 2.078 MB / 1.387 GB, free: 2.965 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.5056, allocations: 236.2 kB / 1.387 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.5059, allocations: 112.7 kB / 1.387 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/0.5079, allocations: 0.7534 MB / 1.388 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.508, allocations: 38.56 kB / 1.388 GB, free: 1.793 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/0.508, allocations: 0 / 1.388 GB, free: 1.793 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0008065/0.5088, allocations: 327.3 kB / 1.388 GB, free: 1.469 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.5089, allocations: 59.34 kB / 1.388 GB, free: 1.398 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.51, allocations: 0.6449 MB / 1.389 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.51, allocations: 29.7 kB / 1.389 GB, free: 0.707 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.5104, allocations: 356 kB / 1.389 GB, free: 364 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5105, allocations: 75.31 kB / 1.389 GB, free: 288 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.5106, allocations: 81.64 kB / 1.389 GB, free: 200 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.5109, allocations: 370.8 kB / 1.39 GB, free: 15.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.5111, allocations: 99.72 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.5115, allocations: 336.5 kB / 1.39 GB, free: 15.31 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.5121, allocations: 347.2 kB / 1.39 GB, free: 14.91 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5121, allocations: 3.938 kB / 1.39 GB, free: 14.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008465/0.5129, allocations: 411.1 kB / 1.391 GB, free: 14.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.513, allocations: 4 kB / 1.391 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.513, allocations: 8.625 kB / 1.391 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.513, allocations: 8 kB / 1.391 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.5133, allocations: 83.84 kB / 1.391 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.5133, allocations: 7.984 kB / 1.391 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.5138, allocations: 51.56 kB / 1.391 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.5138, allocations: 23.98 kB / 1.391 GB, free: 14.31 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.0003611/0.5142, allocations: 205.7 kB / 1.391 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5144, allocations: 71.52 kB / 1.391 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.5152, allocations: 336 kB / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5152, allocations: 4 kB / 1.391 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5152, allocations: 7.938 kB / 1.391 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006216/0.5158, allocations: 496.8 kB / 1.392 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.5175, allocations: 0.8868 MB / 1.393 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5175, allocations: 0 / 1.393 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.5178, allocations: 39.92 kB / 1.393 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.5178, allocations: 3.984 kB / 1.393 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.5178, allocations: 8 kB / 1.393 GB, free: 12.13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5178, allocations: 4 kB / 1.393 GB, free: 12.13 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5178, allocations: 4.125 kB / 1.393 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.5187, allocations: 0.5533 MB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.519, allocations: 99.5 kB / 1.394 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5192, allocations: 7.984 kB / 1.394 GB, free: 11.44 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.5195, allocations: 8 kB / 1.394 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.5195, allocations: 15.97 kB / 1.394 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.5196, allocations: 15.98 kB / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006639/0.5202, allocations: 467 kB / 1.394 GB, free: 10.95 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5202, allocations: 0 / 1.394 GB, free: 10.95 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008383/0.5211, allocations: 215.5 kB / 1.394 GB, free: 10.73 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.00174/0.5228, allocations: 1.282 MB / 1.395 GB, free: 9.414 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.5234, allocations: 243.6 kB / 1.396 GB, free: 9.176 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5234, allocations: 1.25 kB / 1.396 GB, free: 9.176 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.5236, allocations: 117.5 kB / 1.396 GB, free: 9.062 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.5257, allocations: 432.8 kB / 1.396 GB, free: 8.656 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.5337, allocations: 4.956 MB / 1.401 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.5342, allocations: 308.4 kB / 1.401 GB, free: 3.137 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006168/0.5348, allocations: 137.6 kB / 1.402 GB, free: 3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.5351, allocations: 235.4 kB / 1.402 GB, free: 2.77 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/0.5352, allocations: 0 / 1.402 GB, free: 2.77 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/0.6016, allocations: 22.14 MB / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.47, allocations: 10.41 kB / 1.423 GB, free: 13.11 MB / 1.123 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Validation_Tanks.fmu > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 420.0] 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: 19.57338084699586]