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.001498/0.001498, allocations: 108.1 kB / 16.45 MB, free: 6.5 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.001607/0.001607, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.335/3.335, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002126/0.002126, allocations: 70.42 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4259, allocations: 176.1 MB / 1.321 GB, free: 3.375 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.04994/0.4758, allocations: 42.19 MB / 1.362 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.495, allocations: 11.2 MB / 1.373 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.4976, allocations: 67.44 kB / 1.373 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.4993, allocations: 449.1 kB / 1.373 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.5047, allocations: 1.217 MB / 1.375 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.5078, allocations: 0.7342 MB / 1.375 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00478/0.5126, allocations: 2.073 MB / 1.377 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.514, allocations: 0.5555 MB / 1.378 GB, free: 8.695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.5173, allocations: 1.003 MB / 1.379 GB, free: 7.691 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.5187, allocations: 0.5872 MB / 1.379 GB, free: 7.102 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.5189, allocations: 60 kB / 1.379 GB, free: 7.043 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.5209, allocations: 0.6512 MB / 1.38 GB, free: 6.391 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.5213, allocations: 191.2 kB / 1.38 GB, free: 6.203 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008417/0.5221, allocations: 402.1 kB / 1.381 GB, free: 5.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.5255, allocations: 1.285 MB / 1.382 GB, free: 4.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5255, allocations: 0 / 1.382 GB, free: 4.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5255, allocations: 0 / 1.382 GB, free: 4.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.5255, allocations: 0 / 1.382 GB, free: 4.52 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.002986/0.5285, allocations: 1.085 MB / 1.383 GB, free: 3.383 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.5286, allocations: 11.98 kB / 1.383 GB, free: 3.371 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.5287, allocations: 94.7 kB / 1.383 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.5291, allocations: 92.42 kB / 1.383 GB, free: 3.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.5307, allocations: 0.6968 MB / 1.384 GB, free: 2.441 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.5307, allocations: 45.12 kB / 1.384 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5308, allocations: 52 kB / 1.384 GB, free: 2.348 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5319, allocations: 0.5624 MB / 1.385 GB, free: 1.754 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.5319, allocations: 4 kB / 1.385 GB, free: 1.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.532, allocations: 20 kB / 1.385 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.532, allocations: 16 kB / 1.385 GB, free: 1.715 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.5327, allocations: 379.7 kB / 1.385 GB, free: 1.344 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.003924/0.5367, allocations: 2.668 MB / 1.388 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.5373, allocations: 234.6 kB / 1.388 GB, free: 14.26 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.5375, allocations: 117.5 kB / 1.388 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002564/0.5401, allocations: 1.803 MB / 1.39 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.5401, allocations: 34.56 kB / 1.39 GB, free: 12.03 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.5401, allocations: 0 / 1.39 GB, free: 12.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007811/0.5409, allocations: 330.9 kB / 1.39 GB, free: 11.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.541, allocations: 55.34 kB / 1.39 GB, free: 11.63 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.5419, allocations: 0.641 MB / 1.391 GB, free: 10.98 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.5419, allocations: 33.7 kB / 1.391 GB, free: 10.94 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.5423, allocations: 352 kB / 1.391 GB, free: 10.59 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.5423, allocations: 83.3 kB / 1.391 GB, free: 10.51 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5425, allocations: 89.38 kB / 1.391 GB, free: 10.42 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.5427, allocations: 370.8 kB / 1.392 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5429, allocations: 87.95 kB / 1.392 GB, free: 9.961 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.5432, allocations: 229.8 kB / 1.392 GB, free: 9.672 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.5437, allocations: 351.9 kB / 1.392 GB, free: 9.266 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5437, allocations: 3.938 kB / 1.392 GB, free: 9.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000838/0.5446, allocations: 409.2 kB / 1.393 GB, free: 8.855 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5446, allocations: 4 kB / 1.393 GB, free: 8.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5446, allocations: 4 kB / 1.393 GB, free: 8.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.5446, allocations: 8 kB / 1.393 GB, free: 8.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.5449, allocations: 79.78 kB / 1.393 GB, free: 8.762 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.5449, allocations: 8 kB / 1.393 GB, free: 8.754 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.5453, allocations: 51.61 kB / 1.393 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.5454, allocations: 27.98 kB / 1.393 GB, free: 8.676 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.0002944/0.5457, allocations: 213.7 kB / 1.393 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5458, allocations: 75.52 kB / 1.393 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.5465, allocations: 327 kB / 1.393 GB, free: 8.055 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.5465, allocations: 7.984 kB / 1.393 GB, free: 8.047 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5465, allocations: 0 / 1.393 GB, free: 8.047 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000574/0.5471, allocations: 490.4 kB / 1.394 GB, free: 7.5 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.5487, allocations: 0.9755 MB / 1.395 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5487, allocations: 0 / 1.395 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.5489, allocations: 39.97 kB / 1.395 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.5489, allocations: 4 kB / 1.395 GB, free: 6.414 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5489, allocations: 11.94 kB / 1.395 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5489, allocations: 0 / 1.395 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.549, allocations: 4 kB / 1.395 GB, free: 6.398 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.5498, allocations: 0.5417 MB / 1.395 GB, free: 5.832 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5501, allocations: 176.6 kB / 1.396 GB, free: 5.641 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5502, allocations: 8 kB / 1.396 GB, free: 5.633 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.5505, allocations: 19.86 kB / 1.396 GB, free: 5.613 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.5506, allocations: 12.05 kB / 1.396 GB, free: 5.602 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.5506, allocations: 19.98 kB / 1.396 GB, free: 5.582 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006636/0.5513, allocations: 467 kB / 1.396 GB, free: 5.129 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 0 / 1.396 GB, free: 5.129 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008144/0.5521, allocations: 215.5 kB / 1.396 GB, free: 4.918 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.001709/0.5538, allocations: 1.263 MB / 1.397 GB, free: 3.613 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.5544, allocations: 244.6 kB / 1.398 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5544, allocations: 0 / 1.398 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5546, allocations: 116.1 kB / 1.398 GB, free: 3.262 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.5567, allocations: 444.4 kB / 1.398 GB, free: 2.848 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.5644, allocations: 4.951 MB / 1.403 GB, free: 13.66 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.5651, allocations: 0.9057 MB / 1.404 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005769/0.5657, allocations: 137.6 kB / 1.404 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.5661, allocations: 231.4 kB / 1.404 GB, free: 12.36 MB / 1.107 GB Notification: Performance of SimCode: time 1.833e-06/0.5661, allocations: 0 / 1.404 GB, free: 12.36 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.6279, allocations: 20.09 MB / 1.424 GB, free: 8.562 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/10.01, allocations: 19.94 kB / 1.424 GB, free: 8.543 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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] "Error: Could not read variable tan.V in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.V from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable sou.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable sou.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable tan.sta_b.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.sta_b.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable noTan.sta_b.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable noTan.sta_b.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.086720352992415]