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.001297/0.001297, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001523/0.001523, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.797 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.214/3.214, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002038/0.002038, allocations: 68.28 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.516 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.05143/0.4383, allocations: 38.57 MB / 1.363 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.4555, allocations: 10.41 MB / 1.374 GB, free: 380 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.4578, allocations: 75.31 kB / 1.374 GB, free: 304 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.4592, allocations: 425.2 kB / 1.374 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.4634, allocations: 1.229 MB / 1.375 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.4659, allocations: 0.7622 MB / 1.376 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003664/0.4695, allocations: 2.124 MB / 1.378 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.4706, allocations: 0.5325 MB / 1.379 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.4732, allocations: 1.02 MB / 1.38 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4746, allocations: 0.5912 MB / 1.38 GB, free: 9.594 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.4747, allocations: 60 kB / 1.38 GB, free: 9.535 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.4763, allocations: 0.5185 MB / 1.381 GB, free: 9.016 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.4766, allocations: 195.2 kB / 1.381 GB, free: 8.824 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.477, allocations: 326.5 kB / 1.381 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.4791, allocations: 1.253 MB / 1.383 GB, free: 7.246 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4791, allocations: 0 / 1.383 GB, free: 7.246 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4791, allocations: 0 / 1.383 GB, free: 7.246 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.4791, allocations: 0 / 1.383 GB, free: 7.246 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.001851/0.481, allocations: 1.015 MB / 1.384 GB, free: 6.199 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.481, allocations: 8.031 kB / 1.384 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4811, allocations: 90.7 kB / 1.384 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.4814, allocations: 88.42 kB / 1.384 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4826, allocations: 0.6325 MB / 1.384 GB, free: 5.348 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.4827, allocations: 41.12 kB / 1.384 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.4828, allocations: 55.89 kB / 1.384 GB, free: 5.254 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.4838, allocations: 0.6378 MB / 1.385 GB, free: 4.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.4838, allocations: 0 / 1.385 GB, free: 4.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.4838, allocations: 24 kB / 1.385 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4839, allocations: 12 kB / 1.385 GB, free: 4.527 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.4845, allocations: 383.7 kB / 1.385 GB, free: 4.156 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.002898/0.4874, allocations: 2.082 MB / 1.387 GB, free: 1.996 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.488, allocations: 218.6 kB / 1.388 GB, free: 1.773 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.4882, allocations: 112.8 kB / 1.388 GB, free: 1.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.49, allocations: 0.7573 MB / 1.389 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.49, allocations: 34.5 kB / 1.389 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.49, allocations: 0 / 1.389 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0007374/0.4907, allocations: 326.5 kB / 1.389 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4908, allocations: 55.34 kB / 1.389 GB, free: 460 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008846/0.4917, allocations: 0.6526 MB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4917, allocations: 25.7 kB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.4921, allocations: 360 kB / 1.39 GB, free: 15.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.4922, allocations: 83.31 kB / 1.39 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.4923, allocations: 73.64 kB / 1.39 GB, free: 15.24 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.4925, allocations: 378.8 kB / 1.39 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.4927, allocations: 87.73 kB / 1.391 GB, free: 14.77 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.4931, allocations: 340.5 kB / 1.391 GB, free: 14.35 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.4937, allocations: 356.8 kB / 1.391 GB, free: 13.94 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4937, allocations: 3.938 kB / 1.391 GB, free: 13.94 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006965/0.4944, allocations: 396.7 kB / 1.392 GB, free: 13.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4944, allocations: 8.625 kB / 1.392 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.4944, allocations: 8 kB / 1.392 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.4945, allocations: 8 kB / 1.392 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.4947, allocations: 75.89 kB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4947, allocations: 11.94 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.4951, allocations: 51.58 kB / 1.392 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.4951, allocations: 23.98 kB / 1.392 GB, free: 13.36 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.0003012/0.4954, allocations: 209.7 kB / 1.392 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4955, allocations: 71.52 kB / 1.392 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.4962, allocations: 328 kB / 1.392 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4962, allocations: 8 kB / 1.392 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4962, allocations: 0 / 1.392 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006272/0.4969, allocations: 492.7 kB / 1.393 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.4984, allocations: 0.8965 MB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4984, allocations: 0 / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4986, allocations: 43.91 kB / 1.394 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.4986, allocations: 4 kB / 1.394 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.4987, allocations: 8 kB / 1.394 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4987, allocations: 4.125 kB / 1.394 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4987, allocations: 4 kB / 1.394 GB, free: 11.17 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/0.4996, allocations: 0.5511 MB / 1.394 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.4998, allocations: 103.5 kB / 1.394 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.4999, allocations: 11.94 kB / 1.394 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.5002, allocations: 16.02 kB / 1.394 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.5002, allocations: 11.98 kB / 1.394 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.5002, allocations: 19.92 kB / 1.394 GB, free: 10.43 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006404/0.5009, allocations: 463 kB / 1.395 GB, free: 9.984 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5009, allocations: 4 kB / 1.395 GB, free: 9.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007694/0.5016, allocations: 219.6 kB / 1.395 GB, free: 9.766 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.001589/0.5032, allocations: 1.269 MB / 1.396 GB, free: 8.457 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005268/0.5038, allocations: 252.8 kB / 1.397 GB, free: 8.211 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5038, allocations: 0 / 1.397 GB, free: 8.211 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.504, allocations: 112.1 kB / 1.397 GB, free: 8.102 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.5059, allocations: 453.5 kB / 1.397 GB, free: 7.68 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/0.513, allocations: 4.945 MB / 1.402 GB, free: 2.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5134, allocations: 308.4 kB / 1.402 GB, free: 2.172 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005532/0.514, allocations: 129.7 kB / 1.402 GB, free: 2.043 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.5143, allocations: 235.3 kB / 1.403 GB, free: 1.812 MB / 1.092 GB Notification: Performance of SimCode: time 9.41e-07/0.5143, allocations: 0 / 1.403 GB, free: 1.812 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/0.5734, allocations: 22.27 MB / 1.424 GB, free: 12.03 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.31, allocations: 6.656 kB / 1.424 GB, free: 12.02 MB / 1.123 GB " [Timeout remaining time 288] (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.306060681992676]