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.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.001376/0.001376, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001992/0.001992, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.053/3.053, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001916/0.001916, allocations: 64.34 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3115, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.04179/0.3533, allocations: 38.57 MB / 1.401 GB, free: 7.426 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3678, allocations: 10.42 MB / 1.411 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.369, allocations: 67.44 kB / 1.411 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3702, allocations: 425.1 kB / 1.412 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.373, allocations: 1.233 MB / 1.413 GB, free: 11.25 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3747, allocations: 0.7437 MB / 1.414 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.3769, allocations: 2.108 MB / 1.416 GB, free: 8.398 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.3777, allocations: 0.5285 MB / 1.416 GB, free: 7.859 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.3797, allocations: 1.002 MB / 1.417 GB, free: 6.855 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.3805, allocations: 0.5638 MB / 1.418 GB, free: 6.289 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.3806, allocations: 67.94 kB / 1.418 GB, free: 6.223 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3817, allocations: 0.5146 MB / 1.418 GB, free: 5.707 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.3818, allocations: 183.3 kB / 1.418 GB, free: 5.527 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.3822, allocations: 322.5 kB / 1.419 GB, free: 5.211 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.3838, allocations: 1.265 MB / 1.42 GB, free: 3.941 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3838, allocations: 0 / 1.42 GB, free: 3.941 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3838, allocations: 0 / 1.42 GB, free: 3.941 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.3838, allocations: 0 / 1.42 GB, free: 3.941 MB / 1.107 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.001627/0.3854, allocations: 1.002 MB / 1.421 GB, free: 2.906 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3855, allocations: 12.03 kB / 1.421 GB, free: 2.895 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.3856, allocations: 90.7 kB / 1.421 GB, free: 2.797 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.3858, allocations: 92.36 kB / 1.421 GB, free: 2.707 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3869, allocations: 0.6401 MB / 1.422 GB, free: 2.043 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.387, allocations: 41.12 kB / 1.422 GB, free: 2.004 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.3871, allocations: 56 kB / 1.422 GB, free: 1.949 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.388, allocations: 0.6339 MB / 1.423 GB, free: 1.262 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.388, allocations: 4 kB / 1.423 GB, free: 1.258 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.388, allocations: 16 kB / 1.423 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.3881, allocations: 19.94 kB / 1.423 GB, free: 1.223 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/0.3887, allocations: 375.8 kB / 1.423 GB, free: 0.8555 MB / 1.107 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.002725/0.3914, allocations: 2.094 MB / 1.425 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.3919, allocations: 226.4 kB / 1.425 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.3921, allocations: 112.8 kB / 1.425 GB, free: 14.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.3938, allocations: 0.7495 MB / 1.426 GB, free: 13.57 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3938, allocations: 34.56 kB / 1.426 GB, free: 13.53 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.3938, allocations: 0 / 1.426 GB, free: 13.53 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.0006716/0.3945, allocations: 323.1 kB / 1.426 GB, free: 13.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3945, allocations: 59.34 kB / 1.426 GB, free: 13.14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.3953, allocations: 0.6449 MB / 1.427 GB, free: 12.48 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3953, allocations: 33.7 kB / 1.427 GB, free: 12.45 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.3956, allocations: 356 kB / 1.427 GB, free: 12.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3957, allocations: 79.31 kB / 1.427 GB, free: 12.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3958, allocations: 81.64 kB / 1.428 GB, free: 11.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.396, allocations: 366.8 kB / 1.428 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3961, allocations: 91.95 kB / 1.428 GB, free: 11.47 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.3965, allocations: 344.4 kB / 1.428 GB, free: 11.05 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.397, allocations: 344.3 kB / 1.429 GB, free: 10.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.397, allocations: 3.938 kB / 1.429 GB, free: 10.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006473/0.3976, allocations: 408.6 kB / 1.429 GB, free: 10.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3976, allocations: 8.625 kB / 1.429 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3977, allocations: 4 kB / 1.429 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3977, allocations: 12 kB / 1.429 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3979, allocations: 75.84 kB / 1.429 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.3979, allocations: 8 kB / 1.429 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3983, allocations: 59.55 kB / 1.429 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3983, allocations: 20 kB / 1.429 GB, free: 10.05 MB / 1.123 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.0002547/0.3986, allocations: 213.6 kB / 1.429 GB, free: 9.836 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3987, allocations: 71.52 kB / 1.429 GB, free: 9.766 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.3993, allocations: 337.5 kB / 1.43 GB, free: 9.43 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3993, allocations: 7.984 kB / 1.43 GB, free: 9.422 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3993, allocations: 4 kB / 1.43 GB, free: 9.418 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004829/0.3998, allocations: 486.6 kB / 1.43 GB, free: 8.875 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.401, allocations: 0.8773 MB / 1.431 GB, free: 7.938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.401, allocations: 4 kB / 1.431 GB, free: 7.934 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.4012, allocations: 43.91 kB / 1.431 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4012, allocations: 0 / 1.431 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4013, allocations: 11.98 kB / 1.431 GB, free: 7.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4013, allocations: 4.125 kB / 1.431 GB, free: 7.875 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4013, allocations: 4 kB / 1.431 GB, free: 7.871 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.402, allocations: 0.5559 MB / 1.432 GB, free: 7.289 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.4022, allocations: 103.5 kB / 1.432 GB, free: 7.188 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.4023, allocations: 8 kB / 1.432 GB, free: 7.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4026, allocations: 11.98 kB / 1.432 GB, free: 7.168 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4026, allocations: 15.97 kB / 1.432 GB, free: 7.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.4026, allocations: 15.98 kB / 1.432 GB, free: 7.137 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000527/0.4032, allocations: 467 kB / 1.432 GB, free: 6.684 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4032, allocations: 0 / 1.432 GB, free: 6.684 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006687/0.4038, allocations: 211.6 kB / 1.433 GB, free: 6.477 MB / 1.123 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.001467/0.4053, allocations: 1.276 MB / 1.434 GB, free: 5.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.4058, allocations: 247.6 kB / 1.434 GB, free: 4.918 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4058, allocations: 1.25 kB / 1.434 GB, free: 4.918 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.406, allocations: 114.4 kB / 1.434 GB, free: 4.809 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4079, allocations: 443.9 kB / 1.435 GB, free: 4.391 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.4144, allocations: 4.953 MB / 1.439 GB, free: 15.21 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4147, allocations: 308.3 kB / 1.44 GB, free: 14.88 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004838/0.4152, allocations: 129.7 kB / 1.44 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.4155, allocations: 243.3 kB / 1.44 GB, free: 14.51 MB / 1.139 GB Notification: Performance of SimCode: time 7.71e-07/0.4155, allocations: 0 / 1.44 GB, free: 14.51 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.4709, allocations: 22.15 MB / 1.462 GB, free: 8.844 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.25, allocations: 0 / 1.462 GB, free: 8.844 MB / 1.154 GB " [Timeout remaining time 289] (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 800 --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 840.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: 17.53947915090248]