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.001327/0.001327, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.002069/0.002069, allocations: 217 kB / 23.04 MB, free: 5.074 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.362/3.362, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.002071/0.002071, allocations: 62.06 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4441, allocations: 176.1 MB / 1.327 GB, free: 1.953 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.05248/0.4966, allocations: 42.59 MB / 1.368 GB, free: 7.211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.5177, allocations: 11.27 MB / 1.379 GB, free: 11.9 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.5202, allocations: 71.38 kB / 1.379 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.522, allocations: 441.1 kB / 1.38 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.5267, allocations: 1.239 MB / 1.381 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.5291, allocations: 0.7737 MB / 1.382 GB, free: 9.387 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00375/0.5329, allocations: 2.124 MB / 1.384 GB, free: 7.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5339, allocations: 0.5247 MB / 1.384 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.537, allocations: 1.015 MB / 1.385 GB, free: 5.699 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.5382, allocations: 0.5872 MB / 1.386 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.5383, allocations: 64 kB / 1.386 GB, free: 5.047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.5401, allocations: 0.6784 MB / 1.387 GB, free: 4.367 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.5404, allocations: 195.2 kB / 1.387 GB, free: 4.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.541, allocations: 402.2 kB / 1.387 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.5436, allocations: 1.285 MB / 1.388 GB, free: 2.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5436, allocations: 0 / 1.388 GB, free: 2.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5436, allocations: 0 / 1.388 GB, free: 2.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5436, allocations: 0 / 1.388 GB, free: 2.492 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.002155/0.5457, allocations: 1.002 MB / 1.389 GB, free: 1.457 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5458, allocations: 8.031 kB / 1.389 GB, free: 1.449 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.037e-05/0.5458, allocations: 17.19 kB / 1.389 GB, free: 1.43 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5459, allocations: 90.64 kB / 1.389 GB, free: 1.332 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.5462, allocations: 88.42 kB / 1.39 GB, free: 1.246 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.5475, allocations: 0.6363 MB / 1.39 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.5475, allocations: 44.94 kB / 1.39 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.5476, allocations: 51.95 kB / 1.39 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5487, allocations: 0.5625 MB / 1.391 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5487, allocations: 3.938 kB / 1.391 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.5488, allocations: 24 kB / 1.391 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5488, allocations: 12 kB / 1.391 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.5495, allocations: 379.7 kB / 1.391 GB, free: 15.48 MB / 1.092 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.003887/0.5534, allocations: 2.607 MB / 1.394 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.5542, allocations: 234.6 kB / 1.394 GB, free: 12.47 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.5545, allocations: 108.8 kB / 1.394 GB, free: 12.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/0.5565, allocations: 0.8235 MB / 1.395 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5565, allocations: 30.56 kB / 1.395 GB, free: 11.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.5565, allocations: 0 / 1.395 GB, free: 11.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007635/0.5573, allocations: 326.5 kB / 1.395 GB, free: 11.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.5574, allocations: 55.41 kB / 1.395 GB, free: 11.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.5583, allocations: 0.6372 MB / 1.396 GB, free: 10.45 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.5583, allocations: 33.7 kB / 1.396 GB, free: 10.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.5586, allocations: 359.9 kB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.5587, allocations: 79.36 kB / 1.396 GB, free: 9.973 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5589, allocations: 85.42 kB / 1.396 GB, free: 9.883 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5591, allocations: 366.8 kB / 1.397 GB, free: 9.516 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.5593, allocations: 83.95 kB / 1.397 GB, free: 9.434 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.5596, allocations: 241.7 kB / 1.397 GB, free: 9.133 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5601, allocations: 351.3 kB / 1.397 GB, free: 8.727 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5601, allocations: 0 / 1.397 GB, free: 8.727 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007502/0.5609, allocations: 409.4 kB / 1.398 GB, free: 8.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.5609, allocations: 11.98 kB / 1.398 GB, free: 8.309 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5609, allocations: 4 kB / 1.398 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5609, allocations: 8 kB / 1.398 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.5612, allocations: 71.84 kB / 1.398 GB, free: 8.227 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.5612, allocations: 11.94 kB / 1.398 GB, free: 8.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.5616, allocations: 59.95 kB / 1.398 GB, free: 8.156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.5616, allocations: 24 kB / 1.398 GB, free: 8.133 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.0003205/0.562, allocations: 201.8 kB / 1.398 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.5621, allocations: 75.52 kB / 1.398 GB, free: 7.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.5628, allocations: 340.6 kB / 1.399 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5628, allocations: 0 / 1.399 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5628, allocations: 0 / 1.399 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005759/0.5634, allocations: 497 kB / 1.399 GB, free: 6.961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.565, allocations: 0.9376 MB / 1.4 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.565, allocations: 0 / 1.4 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.5652, allocations: 47.91 kB / 1.4 GB, free: 5.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5652, allocations: 4 kB / 1.4 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.5652, allocations: 7.984 kB / 1.4 GB, free: 5.906 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5652, allocations: 0 / 1.4 GB, free: 5.906 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5652, allocations: 4 kB / 1.4 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.5661, allocations: 0.5574 MB / 1.401 GB, free: 5.316 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.5663, allocations: 95.47 kB / 1.401 GB, free: 5.223 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.5664, allocations: 7.938 kB / 1.401 GB, free: 5.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.5667, allocations: 16.05 kB / 1.401 GB, free: 5.199 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.5667, allocations: 19.97 kB / 1.401 GB, free: 5.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.5667, allocations: 15.98 kB / 1.401 GB, free: 5.164 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000672/0.5674, allocations: 467 kB / 1.401 GB, free: 4.711 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.5674, allocations: 0 / 1.401 GB, free: 4.711 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008159/0.5682, allocations: 223.5 kB / 1.401 GB, free: 4.492 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.001695/0.5699, allocations: 1.273 MB / 1.403 GB, free: 3.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.5705, allocations: 254.7 kB / 1.403 GB, free: 2.934 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5705, allocations: 0 / 1.403 GB, free: 2.934 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.5707, allocations: 107.9 kB / 1.403 GB, free: 2.828 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.5727, allocations: 445.7 kB / 1.403 GB, free: 2.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.5805, allocations: 4.949 MB / 1.408 GB, free: 13.23 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.5812, allocations: 0.9096 MB / 1.409 GB, free: 12.3 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.5819, allocations: 125.7 kB / 1.409 GB, free: 12.17 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.5823, allocations: 235.3 kB / 1.409 GB, free: 11.94 MB / 1.107 GB Notification: Performance of SimCode: time 1.753e-06/0.5823, allocations: 3.938 kB / 1.41 GB, free: 11.94 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/0.6391, allocations: 20.5 MB / 1.43 GB, free: 7.785 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.12, allocations: 6.297 kB / 1.43 GB, free: 7.781 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: 20.71894839196466]