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.001701/0.001701, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001796/0.001796, allocations: 218.3 kB / 23.03 MB, free: 4.922 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.41/3.41, allocations: 0.49 GB / 0.7959 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="cs",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.002981/0.002981, allocations: 66.75 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4638, allocations: 176.1 MB / 1.327 GB, free: 1.52 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.05815/0.522, allocations: 38.53 MB / 1.364 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01954/0.5415, allocations: 10.4 MB / 1.374 GB, free: 428 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.544, allocations: 71.38 kB / 1.374 GB, free: 356 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.5458, allocations: 417.3 kB / 1.375 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.55, allocations: 1.229 MB / 1.376 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.5524, allocations: 0.7578 MB / 1.377 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.5562, allocations: 2.135 MB / 1.379 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.5575, allocations: 0.5208 MB / 1.379 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.5607, allocations: 1.022 MB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.562, allocations: 0.5834 MB / 1.381 GB, free: 9.664 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.5623, allocations: 64 kB / 1.381 GB, free: 9.602 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.5642, allocations: 0.5224 MB / 1.382 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.5646, allocations: 187.2 kB / 1.382 GB, free: 8.895 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.5654, allocations: 330.5 kB / 1.382 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.5685, allocations: 1.261 MB / 1.383 GB, free: 7.305 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5685, allocations: 0 / 1.383 GB, free: 7.305 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5685, allocations: 0 / 1.383 GB, free: 7.305 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.381e-05/0.5686, allocations: 0 / 1.383 GB, free: 7.305 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.002632/0.5712, allocations: 0.9995 MB / 1.384 GB, free: 6.273 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001177/0.5713, allocations: 12.03 kB / 1.384 GB, free: 6.262 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.915e-05/0.5714, allocations: 13.19 kB / 1.384 GB, free: 6.246 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5715, allocations: 94.64 kB / 1.384 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/0.5719, allocations: 88.42 kB / 1.384 GB, free: 6.059 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.5735, allocations: 0.6286 MB / 1.385 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.5736, allocations: 48.92 kB / 1.385 GB, free: 5.359 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5737, allocations: 51.95 kB / 1.385 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5751, allocations: 0.6416 MB / 1.386 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.5752, allocations: 4 kB / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.5752, allocations: 20 kB / 1.386 GB, free: 4.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.5753, allocations: 19.98 kB / 1.386 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009561/0.5762, allocations: 379.7 kB / 1.386 GB, free: 4.199 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.004586/0.5808, allocations: 2.071 MB / 1.388 GB, free: 2.055 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.5816, allocations: 234.6 kB / 1.388 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.5818, allocations: 116.7 kB / 1.389 GB, free: 1.699 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.584, allocations: 0.7494 MB / 1.389 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.584, allocations: 34.56 kB / 1.389 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.564e-06/0.584, allocations: 7.938 kB / 1.389 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0008869/0.5849, allocations: 322.4 kB / 1.39 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.585, allocations: 55.41 kB / 1.39 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5861, allocations: 0.6372 MB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.5862, allocations: 33.7 kB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.5866, allocations: 355.9 kB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.5867, allocations: 75.38 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.5869, allocations: 77.64 kB / 1.391 GB, free: 15.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002605/0.5871, allocations: 370.8 kB / 1.391 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.5873, allocations: 91.73 kB / 1.391 GB, free: 14.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.5878, allocations: 348.5 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.5884, allocations: 351.9 kB / 1.392 GB, free: 14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.5884, allocations: 4 kB / 1.392 GB, free: 14 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009213/0.5893, allocations: 410.7 kB / 1.392 GB, free: 13.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5893, allocations: 9.875 kB / 1.392 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5894, allocations: 7.938 kB / 1.392 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.5894, allocations: 4.625 kB / 1.392 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5897, allocations: 75.91 kB / 1.392 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.5897, allocations: 11.92 kB / 1.392 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.5902, allocations: 55.56 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.5902, allocations: 16 kB / 1.392 GB, free: 13.42 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.0004045/0.5907, allocations: 205.8 kB / 1.393 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.5909, allocations: 71.52 kB / 1.393 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008138/0.5917, allocations: 339.9 kB / 1.393 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.5917, allocations: 11.98 kB / 1.393 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5917, allocations: 3.938 kB / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006414/0.5923, allocations: 496.2 kB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.594, allocations: 0.8752 MB / 1.394 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.594, allocations: 0 / 1.394 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.5942, allocations: 47.91 kB / 1.394 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5942, allocations: 7.938 kB / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.5942, allocations: 3.984 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5942, allocations: 4 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5942, allocations: 0 / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.5951, allocations: 0.5581 MB / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.5954, allocations: 103.5 kB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5955, allocations: 4 kB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.5958, allocations: 11.98 kB / 1.395 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.5959, allocations: 19.97 kB / 1.395 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.5959, allocations: 11.98 kB / 1.395 GB, free: 10.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006928/0.5966, allocations: 467 kB / 1.396 GB, free: 10.04 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.5966, allocations: 0 / 1.396 GB, free: 10.04 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009263/0.5975, allocations: 223.5 kB / 1.396 GB, free: 9.824 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.001884/0.5994, allocations: 1.279 MB / 1.397 GB, free: 8.508 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.6, allocations: 243.6 kB / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6, allocations: 0 / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6002, allocations: 114.5 kB / 1.397 GB, free: 8.16 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.6022, allocations: 426.3 kB / 1.398 GB, free: 7.75 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/0.6106, allocations: 4.962 MB / 1.403 GB, free: 2.566 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.611, allocations: 308.4 kB / 1.403 GB, free: 2.238 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.6117, allocations: 137.6 kB / 1.403 GB, free: 2.102 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.6121, allocations: 231.3 kB / 1.403 GB, free: 1.875 MB / 1.092 GB Notification: Performance of SimCode: time 1.452e-06/0.6121, allocations: 0 / 1.403 GB, free: 1.875 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06157/0.6736, allocations: 21.77 MB / 1.425 GB, free: 12.67 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.32, allocations: 3.938 kB / 1.425 GB, free: 12.66 MB / 1.123 GB " [Timeout remaining time 286] (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: 21.11572908598464]