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.001468/0.001468, allocations: 111 kB / 16.46 MB, free: 6.453 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.00154/0.00154, allocations: 213.7 kB / 19.43 MB, free: 3.625 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 / 252.8 MB, free: 8.957 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.371/3.371, allocations: 0.49 GB / 0.7916 GB, free: 33.2 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.002141/0.002141, allocations: 64.44 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4109, allocations: 176.1 MB / 1.321 GB, free: 3.359 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.05452/0.4654, allocations: 42.19 MB / 1.362 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.4836, allocations: 11.21 MB / 1.373 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.4858, allocations: 63.44 kB / 1.373 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4871, allocations: 449.1 kB / 1.373 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.4905, allocations: 1.213 MB / 1.375 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.4926, allocations: 0.7392 MB / 1.375 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.4956, allocations: 2.069 MB / 1.377 GB, free: 9.238 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009223/0.4965, allocations: 0.5516 MB / 1.378 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.4991, allocations: 1.002 MB / 1.379 GB, free: 7.672 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009964/0.5, allocations: 0.5872 MB / 1.379 GB, free: 7.082 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5002, allocations: 60 kB / 1.379 GB, free: 7.023 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.5018, allocations: 0.6551 MB / 1.38 GB, free: 6.367 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.5021, allocations: 195.1 kB / 1.38 GB, free: 6.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.5026, allocations: 398.1 kB / 1.381 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.5046, allocations: 1.289 MB / 1.382 GB, free: 4.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5046, allocations: 4 kB / 1.382 GB, free: 4.488 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5046, allocations: 0 / 1.382 GB, free: 4.488 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.5046, allocations: 0 / 1.382 GB, free: 4.488 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.002027/0.5066, allocations: 1.082 MB / 1.383 GB, free: 3.355 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.123e-05/0.5067, allocations: 15.98 kB / 1.383 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.5068, allocations: 90.7 kB / 1.383 GB, free: 3.242 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.5071, allocations: 88.42 kB / 1.383 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5084, allocations: 0.7007 MB / 1.384 GB, free: 2.418 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.5084, allocations: 49.12 kB / 1.384 GB, free: 2.371 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-05/0.5085, allocations: 48 kB / 1.384 GB, free: 2.324 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5095, allocations: 0.5585 MB / 1.385 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5095, allocations: 0 / 1.385 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.5096, allocations: 28 kB / 1.385 GB, free: 1.703 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.5096, allocations: 12 kB / 1.385 GB, free: 1.691 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.5104, allocations: 383.7 kB / 1.385 GB, free: 1.316 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.003309/0.5137, allocations: 2.668 MB / 1.388 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.5143, allocations: 226.6 kB / 1.388 GB, free: 14.24 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.5145, allocations: 118.5 kB / 1.388 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/0.517, allocations: 1.811 MB / 1.39 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.517, allocations: 42.56 kB / 1.39 GB, free: 11.99 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.517, allocations: 0 / 1.39 GB, free: 11.99 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007294/0.5178, allocations: 326.7 kB / 1.39 GB, free: 11.67 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5178, allocations: 51.41 kB / 1.39 GB, free: 11.61 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008508/0.5187, allocations: 0.6449 MB / 1.391 GB, free: 10.95 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5187, allocations: 29.7 kB / 1.391 GB, free: 10.91 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.519, allocations: 348.1 kB / 1.391 GB, free: 10.57 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.5191, allocations: 83.3 kB / 1.391 GB, free: 10.49 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5192, allocations: 85.38 kB / 1.391 GB, free: 10.4 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003001/0.5195, allocations: 378.8 kB / 1.392 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.5197, allocations: 83.95 kB / 1.392 GB, free: 9.938 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.52, allocations: 237.8 kB / 1.392 GB, free: 9.641 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.5206, allocations: 350.3 kB / 1.392 GB, free: 9.238 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5206, allocations: 11.94 kB / 1.392 GB, free: 9.227 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000702/0.5213, allocations: 397.2 kB / 1.393 GB, free: 8.832 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5213, allocations: 12.12 kB / 1.393 GB, free: 8.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5213, allocations: 4 kB / 1.393 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5213, allocations: 7.984 kB / 1.393 GB, free: 8.809 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.5216, allocations: 83.78 kB / 1.393 GB, free: 8.727 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5216, allocations: 4 kB / 1.393 GB, free: 8.723 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.522, allocations: 51.61 kB / 1.393 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.522, allocations: 20 kB / 1.393 GB, free: 8.652 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.0002885/0.5223, allocations: 213.6 kB / 1.393 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5224, allocations: 75.52 kB / 1.393 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.5231, allocations: 328.1 kB / 1.393 GB, free: 8.027 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5231, allocations: 0 / 1.393 GB, free: 8.027 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5231, allocations: 4 kB / 1.393 GB, free: 8.023 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006174/0.5237, allocations: 496.4 kB / 1.394 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.5253, allocations: 0.9658 MB / 1.395 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5253, allocations: 4 kB / 1.395 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.5255, allocations: 35.98 kB / 1.395 GB, free: 6.398 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5255, allocations: 3.938 kB / 1.395 GB, free: 6.395 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5256, allocations: 11.98 kB / 1.395 GB, free: 6.383 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.5256, allocations: 4 kB / 1.395 GB, free: 6.379 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5256, allocations: 0 / 1.395 GB, free: 6.379 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.5264, allocations: 0.5388 MB / 1.395 GB, free: 5.812 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.5267, allocations: 180.6 kB / 1.396 GB, free: 5.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.5267, allocations: 7.938 kB / 1.396 GB, free: 5.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.527, allocations: 8 kB / 1.396 GB, free: 5.602 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.5271, allocations: 16.02 kB / 1.396 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.5271, allocations: 20.05 kB / 1.396 GB, free: 5.566 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006315/0.5277, allocations: 467 kB / 1.396 GB, free: 5.113 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.5277, allocations: 0 / 1.396 GB, free: 5.113 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007522/0.5285, allocations: 223.4 kB / 1.396 GB, free: 4.895 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.001607/0.5301, allocations: 1.26 MB / 1.397 GB, free: 3.594 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005459/0.5306, allocations: 246.9 kB / 1.398 GB, free: 3.355 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5306, allocations: 4 kB / 1.398 GB, free: 3.352 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.5309, allocations: 113.8 kB / 1.398 GB, free: 3.242 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.5328, allocations: 443.6 kB / 1.398 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.5401, allocations: 4.959 MB / 1.403 GB, free: 13.64 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.5406, allocations: 0.9095 MB / 1.404 GB, free: 12.7 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005087/0.5411, allocations: 129.7 kB / 1.404 GB, free: 12.57 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.5415, allocations: 231.3 kB / 1.404 GB, free: 12.35 MB / 1.107 GB Notification: Performance of SimCode: time 6.11e-07/0.5415, allocations: 0 / 1.404 GB, free: 12.35 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0552/0.5967, allocations: 20.1 MB / 1.424 GB, free: 8.535 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/9.782, allocations: 11.88 kB / 1.424 GB, free: 8.523 MB / 1.123 GB " [Timeout remaining time 290] (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: 16.811794804176316]