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.001375/0.001375, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001671/0.001671, allocations: 222.5 kB / 22.25 MB, free: 5.258 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.82 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.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.002091/0.002091, allocations: 69.5 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 176.1 MB / 1.326 GB, free: 1.559 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.04419/0.4164, allocations: 38.56 MB / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.4323, allocations: 10.42 MB / 1.374 GB, free: 416 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.4339, allocations: 71.38 kB / 1.374 GB, free: 344 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.4352, allocations: 421.2 kB / 1.374 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.4385, allocations: 1.227 MB / 1.375 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.4404, allocations: 0.7626 MB / 1.376 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.4434, allocations: 2.128 MB / 1.378 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.4443, allocations: 0.5209 MB / 1.379 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.4466, allocations: 1.02 MB / 1.38 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.4474, allocations: 0.5873 MB / 1.38 GB, free: 9.652 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.4475, allocations: 60 kB / 1.38 GB, free: 9.594 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.4488, allocations: 0.5224 MB / 1.381 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.449, allocations: 195.2 kB / 1.381 GB, free: 8.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.4493, allocations: 322.5 kB / 1.381 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.4512, allocations: 1.261 MB / 1.383 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4512, allocations: 0 / 1.383 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4512, allocations: 0 / 1.383 GB, free: 7.297 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4512, allocations: 0 / 1.383 GB, free: 7.297 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.001777/0.453, allocations: 1.006 MB / 1.384 GB, free: 6.258 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.453, allocations: 8.031 kB / 1.384 GB, free: 6.25 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.4531, allocations: 94.7 kB / 1.384 GB, free: 6.148 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.4534, allocations: 96.41 kB / 1.384 GB, free: 6.055 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4546, allocations: 0.6247 MB / 1.384 GB, free: 5.402 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4547, allocations: 45.12 kB / 1.384 GB, free: 5.359 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4548, allocations: 51.95 kB / 1.384 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.4558, allocations: 0.6378 MB / 1.385 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4558, allocations: 0 / 1.385 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.4558, allocations: 24 kB / 1.385 GB, free: 4.594 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.4559, allocations: 12 kB / 1.385 GB, free: 4.582 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.4565, allocations: 387.7 kB / 1.385 GB, free: 4.207 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.003029/0.4596, allocations: 2.074 MB / 1.387 GB, free: 2.055 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.4601, allocations: 230.5 kB / 1.388 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.4603, allocations: 116.7 kB / 1.388 GB, free: 1.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/0.462, allocations: 0.7495 MB / 1.389 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.4621, allocations: 38.5 kB / 1.389 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4621, allocations: 4 kB / 1.389 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006794/0.4627, allocations: 320 kB / 1.389 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4628, allocations: 55.34 kB / 1.389 GB, free: 0.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.4636, allocations: 0.6528 MB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.4636, allocations: 29.7 kB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4639, allocations: 352 kB / 1.39 GB, free: 15.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.464, allocations: 83.23 kB / 1.39 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4641, allocations: 73.64 kB / 1.39 GB, free: 15.29 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.4643, allocations: 374.8 kB / 1.39 GB, free: 14.92 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.4645, allocations: 91.72 kB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.4649, allocations: 348.5 kB / 1.391 GB, free: 14.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.4654, allocations: 350.9 kB / 1.391 GB, free: 13.99 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4654, allocations: 3.938 kB / 1.391 GB, free: 13.99 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006771/0.466, allocations: 406.9 kB / 1.392 GB, free: 13.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4661, allocations: 8 kB / 1.392 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4661, allocations: 4 kB / 1.392 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4661, allocations: 8 kB / 1.392 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.4664, allocations: 71.91 kB / 1.392 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.4664, allocations: 15.92 kB / 1.392 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4667, allocations: 52.08 kB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4668, allocations: 27.98 kB / 1.392 GB, free: 13.4 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.0002816/0.467, allocations: 205.7 kB / 1.392 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4672, allocations: 71.52 kB / 1.392 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.4678, allocations: 336 kB / 1.392 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4678, allocations: 3.938 kB / 1.392 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4678, allocations: 0 / 1.392 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005506/0.4684, allocations: 0.4892 MB / 1.393 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.4699, allocations: 0.8869 MB / 1.394 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4699, allocations: 0 / 1.394 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4701, allocations: 43.91 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.4701, allocations: 4 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.4701, allocations: 8 kB / 1.394 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4701, allocations: 0 / 1.394 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4701, allocations: 4 kB / 1.394 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.471, allocations: 0.5576 MB / 1.394 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4712, allocations: 99.45 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.4713, allocations: 8.156 kB / 1.394 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.4715, allocations: 12 kB / 1.394 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4716, allocations: 19.97 kB / 1.394 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.4716, allocations: 11.98 kB / 1.394 GB, free: 10.49 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007322/0.4723, allocations: 467 kB / 1.395 GB, free: 10.04 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4723, allocations: 0 / 1.395 GB, free: 10.04 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00083/0.4732, allocations: 219.5 kB / 1.395 GB, free: 9.82 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.00162/0.4748, allocations: 1.274 MB / 1.396 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.4753, allocations: 252 kB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4753, allocations: 0 / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.4755, allocations: 119.7 kB / 1.397 GB, free: 8.141 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.4774, allocations: 439.1 kB / 1.397 GB, free: 7.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.4844, allocations: 4.947 MB / 1.402 GB, free: 2.551 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4847, allocations: 304.4 kB / 1.402 GB, free: 2.227 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000528/0.4852, allocations: 137.6 kB / 1.402 GB, free: 2.09 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.4856, allocations: 227.4 kB / 1.403 GB, free: 1.867 MB / 1.092 GB Notification: Performance of SimCode: time 8.71e-07/0.4856, allocations: 0 / 1.403 GB, free: 1.867 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.5444, allocations: 22.27 MB / 1.424 GB, free: 12.08 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.29, allocations: 6.188 kB / 1.424 GB, free: 12.08 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 & 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: 19.26909583201632]