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.001893/0.001893, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002657/0.002657, allocations: 216.6 kB / 22.25 MB, free: 5.125 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.996 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.372/3.372, allocations: 0.49 GB / 0.7951 GB, free: 33.25 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.002051/0.002051, allocations: 68.47 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.375, allocations: 176.1 MB / 1.326 GB, free: 1.984 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.04802/0.423, allocations: 42.6 MB / 1.367 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.44, allocations: 11.27 MB / 1.378 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.4422, allocations: 71.38 kB / 1.379 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4439, allocations: 437.1 kB / 1.379 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.4478, allocations: 1.244 MB / 1.38 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.4499, allocations: 0.7749 MB / 1.381 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003825/0.4538, allocations: 2.124 MB / 1.383 GB, free: 7.273 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4551, allocations: 0.5364 MB / 1.384 GB, free: 6.727 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.4588, allocations: 1.012 MB / 1.385 GB, free: 5.715 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4599, allocations: 0.5795 MB / 1.385 GB, free: 5.133 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.4602, allocations: 64 kB / 1.385 GB, free: 5.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.4625, allocations: 0.6784 MB / 1.386 GB, free: 4.391 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.463, allocations: 187.2 kB / 1.386 GB, free: 4.207 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.4638, allocations: 394.2 kB / 1.386 GB, free: 3.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.4676, allocations: 1.292 MB / 1.388 GB, free: 2.523 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4676, allocations: 0 / 1.388 GB, free: 2.523 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4676, allocations: 0 / 1.388 GB, free: 2.523 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.032e-05/0.4676, allocations: 0 / 1.388 GB, free: 2.523 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.003914/0.4716, allocations: 1.002 MB / 1.389 GB, free: 1.488 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.4716, allocations: 11.97 kB / 1.389 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.4718, allocations: 94.7 kB / 1.389 GB, free: 1.375 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.4722, allocations: 96.42 kB / 1.389 GB, free: 1.281 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4737, allocations: 0.6285 MB / 1.389 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.4737, allocations: 45.12 kB / 1.389 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4738, allocations: 55.94 kB / 1.39 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4749, allocations: 0.5586 MB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.475, allocations: 4 kB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.475, allocations: 24 kB / 1.39 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.475, allocations: 12 kB / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.4758, allocations: 375.7 kB / 1.39 GB, free: 15.53 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.003799/0.4796, allocations: 2.607 MB / 1.393 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.4802, allocations: 230.6 kB / 1.393 GB, free: 12.52 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.4804, allocations: 120.7 kB / 1.393 GB, free: 12.4 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.4821, allocations: 0.8157 MB / 1.394 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4822, allocations: 42.48 kB / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.4822, allocations: 0 / 1.394 GB, free: 11.51 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007139/0.4829, allocations: 322.7 kB / 1.394 GB, free: 11.19 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4829, allocations: 59.33 kB / 1.395 GB, free: 11.12 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.4838, allocations: 0.6333 MB / 1.395 GB, free: 10.48 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.4839, allocations: 33.7 kB / 1.395 GB, free: 10.44 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.4842, allocations: 356 kB / 1.396 GB, free: 10.09 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.4843, allocations: 67.39 kB / 1.396 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.4844, allocations: 89.42 kB / 1.396 GB, free: 9.926 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.4846, allocations: 366.8 kB / 1.396 GB, free: 9.559 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4848, allocations: 91.94 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.4852, allocations: 237.7 kB / 1.396 GB, free: 9.172 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.4857, allocations: 343.4 kB / 1.397 GB, free: 8.773 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4857, allocations: 3.938 kB / 1.397 GB, free: 8.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006716/0.4864, allocations: 413.8 kB / 1.397 GB, free: 8.359 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4864, allocations: 11.88 kB / 1.397 GB, free: 8.348 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4864, allocations: 11.98 kB / 1.397 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4864, allocations: 4 kB / 1.397 GB, free: 8.332 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4867, allocations: 79.89 kB / 1.397 GB, free: 8.254 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4867, allocations: 7.938 kB / 1.397 GB, free: 8.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.487, allocations: 51.56 kB / 1.397 GB, free: 8.195 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.487, allocations: 23.98 kB / 1.397 GB, free: 8.172 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.0002905/0.4873, allocations: 201.8 kB / 1.397 GB, free: 7.965 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.4874, allocations: 75.55 kB / 1.398 GB, free: 7.891 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.4881, allocations: 347.5 kB / 1.398 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4881, allocations: 3.938 kB / 1.398 GB, free: 7.543 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4881, allocations: 4 kB / 1.398 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005512/0.4887, allocations: 486.5 kB / 1.398 GB, free: 6.996 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.4903, allocations: 0.9437 MB / 1.399 GB, free: 5.992 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4903, allocations: 4 kB / 1.399 GB, free: 5.988 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4905, allocations: 43.91 kB / 1.399 GB, free: 5.945 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4905, allocations: 4 kB / 1.399 GB, free: 5.941 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.4905, allocations: 8 kB / 1.399 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4905, allocations: 4 kB / 1.399 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4905, allocations: 4 kB / 1.399 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.4913, allocations: 0.5567 MB / 1.4 GB, free: 5.344 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.4915, allocations: 103.5 kB / 1.4 GB, free: 5.242 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.4916, allocations: 7.984 kB / 1.4 GB, free: 5.234 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4919, allocations: 4 kB / 1.4 GB, free: 5.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.4919, allocations: 20.03 kB / 1.4 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.492, allocations: 15.98 kB / 1.4 GB, free: 5.195 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000621/0.4926, allocations: 471 kB / 1.4 GB, free: 4.738 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4926, allocations: 0 / 1.4 GB, free: 4.738 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007431/0.4933, allocations: 215.5 kB / 1.401 GB, free: 4.527 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.001634/0.495, allocations: 1.277 MB / 1.402 GB, free: 3.207 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005463/0.4955, allocations: 244.6 kB / 1.402 GB, free: 2.969 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.4955, allocations: 3.984 kB / 1.402 GB, free: 2.965 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4957, allocations: 117.6 kB / 1.402 GB, free: 2.852 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.4976, allocations: 430.2 kB / 1.403 GB, free: 2.449 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/0.5055, allocations: 4.961 MB / 1.407 GB, free: 13.26 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.5062, allocations: 0.9018 MB / 1.408 GB, free: 12.33 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005455/0.5067, allocations: 133.7 kB / 1.409 GB, free: 12.2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.5071, allocations: 227.4 kB / 1.409 GB, free: 11.98 MB / 1.107 GB Notification: Performance of SimCode: time 1.022e-06/0.5071, allocations: 0 / 1.409 GB, free: 11.98 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/0.5719, allocations: 20.47 MB / 1.429 GB, free: 7.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.75, allocations: 11.23 kB / 1.429 GB, free: 7.832 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.97933551715687]