Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.54/2.54, allocations: 489.7 MB / 0.7755 GB, free: 2.348 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 1.126 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.734, allocations: 172 MB / 1.294 GB, free: 38.32 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.02565/0.7596, allocations: 42.4 MB / 1.335 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.77, allocations: 11.24 MB / 1.346 GB, free: 204 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.7709, allocations: 51.41 kB / 1.346 GB, free: 184 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.7719, allocations: 434.8 kB / 1.347 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.7744, allocations: 1.227 MB / 1.348 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.7761, allocations: 0.7541 MB / 1.349 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.7787, allocations: 2.077 MB / 1.351 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.7794, allocations: 0.52 MB / 1.351 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.7813, allocations: 0.9914 MB / 1.352 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.782, allocations: 0.5815 MB / 1.353 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.7821, allocations: 62.47 kB / 1.353 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.7833, allocations: 0.6459 MB / 1.353 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.7835, allocations: 190.2 kB / 1.354 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.7838, allocations: 398.2 kB / 1.354 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.7854, allocations: 1.27 MB / 1.355 GB, free: 11.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.7854, allocations: 0 / 1.355 GB, free: 11.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7854, allocations: 0.5156 kB / 1.355 GB, free: 11.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7854, allocations: 0 / 1.355 GB, free: 11.71 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.001618/0.787, allocations: 1.077 MB / 1.356 GB, free: 10.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7871, allocations: 10 kB / 1.356 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.7872, allocations: 95.42 kB / 1.356 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.7874, allocations: 89.52 kB / 1.356 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7885, allocations: 0.6978 MB / 1.357 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.7885, allocations: 45.12 kB / 1.357 GB, free: 10.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.7886, allocations: 50.94 kB / 1.357 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.7894, allocations: 0.5594 MB / 1.358 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.7894, allocations: 5.125 kB / 1.358 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.7895, allocations: 21.81 kB / 1.358 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.7895, allocations: 12.16 kB / 1.358 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.7902, allocations: 381.8 kB / 1.358 GB, free: 9.863 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.002821/0.793, allocations: 2.676 MB / 1.361 GB, free: 7.809 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.7935, allocations: 224.5 kB / 1.361 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.7937, allocations: 117.1 kB / 1.361 GB, free: 7.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.7957, allocations: 1.814 MB / 1.363 GB, free: 5.957 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.7957, allocations: 37.81 kB / 1.363 GB, free: 5.914 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.7957, allocations: 0 / 1.363 GB, free: 5.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006067/0.7963, allocations: 326.3 kB / 1.363 GB, free: 5.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.7963, allocations: 58.69 kB / 1.363 GB, free: 5.703 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.7971, allocations: 0.6413 MB / 1.364 GB, free: 5.414 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.7971, allocations: 31.89 kB / 1.364 GB, free: 5.379 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.7974, allocations: 355.2 kB / 1.364 GB, free: 5.094 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.7974, allocations: 72.23 kB / 1.364 GB, free: 5.039 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.7975, allocations: 84.91 kB / 1.364 GB, free: 4.988 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7977, allocations: 369.3 kB / 1.365 GB, free: 4.652 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7979, allocations: 85.42 kB / 1.365 GB, free: 4.625 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.7981, allocations: 240.6 kB / 1.365 GB, free: 4.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.7986, allocations: 340.1 kB / 1.365 GB, free: 4.141 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7986, allocations: 6.219 kB / 1.365 GB, free: 4.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006064/0.7992, allocations: 409.3 kB / 1.366 GB, free: 3.953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7992, allocations: 8.375 kB / 1.366 GB, free: 3.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7992, allocations: 7.609 kB / 1.366 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7992, allocations: 7.719 kB / 1.366 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.7994, allocations: 74.58 kB / 1.366 GB, free: 3.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7994, allocations: 16.06 kB / 1.366 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.7998, allocations: 57.23 kB / 1.366 GB, free: 3.895 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.7998, allocations: 17.03 kB / 1.366 GB, free: 3.895 MB / 1.076 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.0002354/0.8, allocations: 213.9 kB / 1.366 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.8001, allocations: 74.58 kB / 1.366 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.8007, allocations: 338.8 kB / 1.367 GB, free: 3.523 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.8007, allocations: 3.359 kB / 1.367 GB, free: 3.523 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8007, allocations: 5.031 kB / 1.367 GB, free: 3.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004646/0.8012, allocations: 485.8 kB / 1.367 GB, free: 3.109 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.8024, allocations: 0.9588 MB / 1.368 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8024, allocations: 1.375 kB / 1.368 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.8026, allocations: 46.86 kB / 1.368 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8026, allocations: 3.578 kB / 1.368 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.8026, allocations: 8.219 kB / 1.368 GB, free: 2.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8026, allocations: 3.062 kB / 1.368 GB, free: 2.512 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8026, allocations: 1.469 kB / 1.368 GB, free: 2.512 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.8033, allocations: 0.5509 MB / 1.369 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.8035, allocations: 179 kB / 1.369 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.8036, allocations: 7.578 kB / 1.369 GB, free: 2.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.8039, allocations: 12.33 kB / 1.369 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.8039, allocations: 18.72 kB / 1.369 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.8039, allocations: 11.3 kB / 1.369 GB, free: 2.008 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005109/0.8044, allocations: 466.5 kB / 1.369 GB, free: 1.805 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8044, allocations: 0 / 1.369 GB, free: 1.805 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00065/0.8051, allocations: 219 kB / 1.369 GB, free: 1.754 MB / 1.076 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.001397/0.8065, allocations: 1.298 MB / 1.371 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.8069, allocations: 246.1 kB / 1.371 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8069, allocations: 0 / 1.371 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.8071, allocations: 111.3 kB / 1.371 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.8089, allocations: 431.3 kB / 1.371 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.8147, allocations: 4.962 MB / 1.376 GB, free: 13.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.8152, allocations: 0.9058 MB / 1.377 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.8156, allocations: 131.6 kB / 1.377 GB, free: 12.88 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.8159, allocations: 232.8 kB / 1.378 GB, free: 12.72 MB / 1.092 GB Notification: Performance of SimCode: time 5.21e-07/0.8159, allocations: 0 / 1.378 GB, free: 12.72 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.8636, allocations: 20.2 MB / 1.397 GB, free: 10.04 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.832, allocations: 4.344 kB / 1.397 GB, free: 10.04 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Templates_Components_Validation_Tanks.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.V from file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable sou.T in file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable sou.T from file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable tan.sta_b.T in file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.sta_b.T from file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable noTan.sta_b.T in file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable noTan.sta_b.T from file Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.205415698001161]