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.001435/0.001435, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001518/0.001518, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.043 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.327/3.327, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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.002114/0.002114, allocations: 68.16 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3567, allocations: 176.1 MB / 1.326 GB, free: 1.973 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.0486/0.4053, allocations: 42.6 MB / 1.367 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4233, allocations: 11.27 MB / 1.378 GB, free: 11.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.4254, allocations: 67.38 kB / 1.379 GB, free: 11.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.4269, allocations: 433.1 kB / 1.379 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.4304, allocations: 1.249 MB / 1.38 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.4326, allocations: 0.7809 MB / 1.381 GB, free: 9.395 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.4357, allocations: 2.128 MB / 1.383 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009322/0.4367, allocations: 0.5209 MB / 1.384 GB, free: 6.723 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.4393, allocations: 1.016 MB / 1.385 GB, free: 5.707 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4403, allocations: 0.595 MB / 1.385 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.4404, allocations: 60 kB / 1.385 GB, free: 5.051 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.4421, allocations: 0.6784 MB / 1.386 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.4423, allocations: 187.2 kB / 1.386 GB, free: 4.188 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.4428, allocations: 402 kB / 1.386 GB, free: 3.793 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.4451, allocations: 1.281 MB / 1.388 GB, free: 2.508 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4451, allocations: 0 / 1.388 GB, free: 2.508 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4451, allocations: 0 / 1.388 GB, free: 2.508 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.4451, allocations: 4 kB / 1.388 GB, free: 2.504 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.00198/0.4471, allocations: 1.006 MB / 1.389 GB, free: 1.465 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.4471, allocations: 12.03 kB / 1.389 GB, free: 1.453 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.4473, allocations: 90.7 kB / 1.389 GB, free: 1.355 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.4475, allocations: 92.41 kB / 1.389 GB, free: 1.266 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4488, allocations: 0.6324 MB / 1.389 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.4488, allocations: 41.12 kB / 1.389 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.4489, allocations: 51.95 kB / 1.39 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.4499, allocations: 0.5625 MB / 1.39 GB, free: 15.92 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4499, allocations: 3.938 kB / 1.39 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.45, allocations: 20 kB / 1.39 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.45, allocations: 16 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.4507, allocations: 379.7 kB / 1.39 GB, free: 15.51 MB / 1.092 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.003517/0.4542, allocations: 2.603 MB / 1.393 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.4548, allocations: 234.6 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.455, allocations: 116.8 kB / 1.393 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/0.4568, allocations: 0.8157 MB / 1.394 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4569, allocations: 34.56 kB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.4569, allocations: 0 / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007265/0.4576, allocations: 324 kB / 1.394 GB, free: 11.18 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4577, allocations: 55.34 kB / 1.395 GB, free: 11.12 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.4586, allocations: 0.6449 MB / 1.395 GB, free: 10.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.4586, allocations: 29.7 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.4589, allocations: 360 kB / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.459, allocations: 75.38 kB / 1.396 GB, free: 9.996 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4591, allocations: 81.42 kB / 1.396 GB, free: 9.91 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4593, allocations: 374.8 kB / 1.396 GB, free: 9.535 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4595, allocations: 83.95 kB / 1.396 GB, free: 9.453 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.4598, allocations: 229.8 kB / 1.396 GB, free: 9.164 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.4603, allocations: 359.6 kB / 1.397 GB, free: 8.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.4603, allocations: 7.938 kB / 1.397 GB, free: 8.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007092/0.461, allocations: 400.7 kB / 1.397 GB, free: 8.344 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.461, allocations: 8 kB / 1.397 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4611, allocations: 4 kB / 1.397 GB, free: 8.332 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4611, allocations: 8 kB / 1.397 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4614, allocations: 75.89 kB / 1.397 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4614, allocations: 12.44 kB / 1.397 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.4617, allocations: 59.55 kB / 1.397 GB, free: 8.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.4617, allocations: 20 kB / 1.397 GB, free: 8.16 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.0003057/0.4621, allocations: 209.7 kB / 1.397 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.4622, allocations: 71.52 kB / 1.398 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.4628, allocations: 339.6 kB / 1.398 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.4629, allocations: 4 kB / 1.398 GB, free: 7.535 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4629, allocations: 4 kB / 1.398 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/0.4634, allocations: 494.4 kB / 1.398 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4649, allocations: 0.9437 MB / 1.399 GB, free: 5.977 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4649, allocations: 4 kB / 1.399 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.4651, allocations: 39.97 kB / 1.399 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.4651, allocations: 0 / 1.399 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4652, allocations: 8 kB / 1.399 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/0.4652, allocations: 12.05 kB / 1.399 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4652, allocations: 4 kB / 1.399 GB, free: 5.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.466, allocations: 0.545 MB / 1.4 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.4662, allocations: 103.5 kB / 1.4 GB, free: 5.238 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.4663, allocations: 12.06 kB / 1.4 GB, free: 5.227 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.4666, allocations: 12.02 kB / 1.4 GB, free: 5.215 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.4666, allocations: 19.91 kB / 1.4 GB, free: 5.195 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.4666, allocations: 12 kB / 1.4 GB, free: 5.184 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006087/0.4672, allocations: 467 kB / 1.4 GB, free: 4.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4672, allocations: 0 / 1.4 GB, free: 4.73 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007766/0.468, allocations: 219.5 kB / 1.401 GB, free: 4.516 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.001619/0.4696, allocations: 1.27 MB / 1.402 GB, free: 3.203 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.4703, allocations: 251.9 kB / 1.402 GB, free: 2.957 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4703, allocations: 4 kB / 1.402 GB, free: 2.953 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4705, allocations: 111.8 kB / 1.402 GB, free: 2.844 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.4725, allocations: 445.6 kB / 1.403 GB, free: 2.426 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.4801, allocations: 4.945 MB / 1.407 GB, free: 13.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.4808, allocations: 0.9096 MB / 1.408 GB, free: 12.31 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007066/0.4815, allocations: 133.6 kB / 1.409 GB, free: 12.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.4819, allocations: 231.3 kB / 1.409 GB, free: 11.95 MB / 1.107 GB Notification: Performance of SimCode: time 1.843e-06/0.4819, allocations: 0 / 1.409 GB, free: 11.95 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.5431, allocations: 20.47 MB / 1.429 GB, free: 7.816 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.53, allocations: 7.984 kB / 1.429 GB, free: 7.809 MB / 1.123 GB " [Timeout remaining time 287] (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.697593949998918]