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.001695/0.001695, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002859/0.002859, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.98 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.434/3.434, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] 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.002894/0.002894, allocations: 67.09 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4336, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 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.05083/0.4844, allocations: 42.6 MB / 1.394 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.5041, allocations: 11.28 MB / 1.405 GB, free: 2.387 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.5061, allocations: 71.38 kB / 1.406 GB, free: 2.316 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.5076, allocations: 429.1 kB / 1.406 GB, free: 1.895 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.5112, allocations: 1.236 MB / 1.407 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5134, allocations: 0.779 MB / 1.408 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.5166, allocations: 2.124 MB / 1.41 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.5177, allocations: 0.5247 MB / 1.41 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.5206, allocations: 1.009 MB / 1.411 GB, free: 12.19 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5218, allocations: 0.5873 MB / 1.412 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.5219, allocations: 60 kB / 1.412 GB, free: 11.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.5235, allocations: 0.6784 MB / 1.413 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.5237, allocations: 191.2 kB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.5242, allocations: 398.1 kB / 1.413 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.5262, allocations: 1.289 MB / 1.415 GB, free: 8.992 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.5262, allocations: 7.938 kB / 1.415 GB, free: 8.984 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5262, allocations: 0 / 1.415 GB, free: 8.984 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.5262, allocations: 0 / 1.415 GB, free: 8.984 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.00179/0.528, allocations: 1.002 MB / 1.416 GB, free: 7.949 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.528, allocations: 12.03 kB / 1.416 GB, free: 7.938 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.5281, allocations: 90.7 kB / 1.416 GB, free: 7.84 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.5284, allocations: 88.42 kB / 1.416 GB, free: 7.754 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5296, allocations: 0.6402 MB / 1.416 GB, free: 7.094 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.5296, allocations: 41.12 kB / 1.416 GB, free: 7.055 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.5297, allocations: 52 kB / 1.416 GB, free: 7.004 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.5306, allocations: 0.5625 MB / 1.417 GB, free: 6.406 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5306, allocations: 0 / 1.417 GB, free: 6.406 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.5307, allocations: 20 kB / 1.417 GB, free: 6.387 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.5307, allocations: 19.94 kB / 1.417 GB, free: 6.367 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.5314, allocations: 379.7 kB / 1.417 GB, free: 5.996 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.00329/0.5347, allocations: 2.611 MB / 1.42 GB, free: 3.215 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.5353, allocations: 230.6 kB / 1.42 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.5355, allocations: 112.8 kB / 1.42 GB, free: 2.867 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.5373, allocations: 0.808 MB / 1.421 GB, free: 2.039 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5374, allocations: 46.5 kB / 1.421 GB, free: 1.984 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.5374, allocations: 0 / 1.421 GB, free: 1.984 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.0007002/0.5381, allocations: 319.3 kB / 1.421 GB, free: 1.668 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.5381, allocations: 55.34 kB / 1.421 GB, free: 1.602 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.5389, allocations: 0.6411 MB / 1.422 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.539, allocations: 29.7 kB / 1.422 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.5393, allocations: 363.9 kB / 1.422 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.5394, allocations: 71.38 kB / 1.423 GB, free: 496 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.5395, allocations: 85.64 kB / 1.423 GB, free: 404 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.5397, allocations: 370.8 kB / 1.423 GB, free: 24 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.5399, allocations: 83.95 kB / 1.423 GB, free: 15.94 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.5402, allocations: 237.9 kB / 1.423 GB, free: 15.64 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.5407, allocations: 340.5 kB / 1.424 GB, free: 15.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5407, allocations: 7.938 kB / 1.424 GB, free: 15.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006734/0.5414, allocations: 409.1 kB / 1.424 GB, free: 14.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5414, allocations: 9.875 kB / 1.424 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5414, allocations: 7.938 kB / 1.424 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5415, allocations: 8 kB / 1.424 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5418, allocations: 71.89 kB / 1.424 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.5419, allocations: 11.94 kB / 1.424 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.5422, allocations: 51.56 kB / 1.424 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.5423, allocations: 27.92 kB / 1.424 GB, free: 14.65 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.0002949/0.5426, allocations: 217.8 kB / 1.424 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5427, allocations: 75.55 kB / 1.424 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000657/0.5433, allocations: 339.8 kB / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5434, allocations: 4 kB / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5434, allocations: 0 / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005393/0.5439, allocations: 486.6 kB / 1.425 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.5454, allocations: 0.9437 MB / 1.426 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5454, allocations: 0 / 1.426 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5456, allocations: 47.91 kB / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5456, allocations: 0 / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5456, allocations: 4 kB / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5456, allocations: 4 kB / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5456, allocations: 0 / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.5465, allocations: 0.5624 MB / 1.427 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.5467, allocations: 103.5 kB / 1.427 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.5468, allocations: 4 kB / 1.427 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.547, allocations: 11.95 kB / 1.427 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.5471, allocations: 20.03 kB / 1.427 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.5471, allocations: 15.98 kB / 1.427 GB, free: 11.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006093/0.5477, allocations: 467 kB / 1.427 GB, free: 11.21 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5477, allocations: 0 / 1.427 GB, free: 11.21 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007195/0.5484, allocations: 215.6 kB / 1.428 GB, free: 11 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.001531/0.55, allocations: 1.283 MB / 1.429 GB, free: 9.676 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.5505, allocations: 248.4 kB / 1.429 GB, free: 9.434 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5505, allocations: 4.438 kB / 1.429 GB, free: 9.43 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.5507, allocations: 107.9 kB / 1.429 GB, free: 9.324 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.5525, allocations: 439.6 kB / 1.43 GB, free: 8.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.5595, allocations: 4.958 MB / 1.434 GB, free: 3.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/0.5602, allocations: 0.9096 MB / 1.435 GB, free: 2.793 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005361/0.5607, allocations: 129.7 kB / 1.435 GB, free: 2.664 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.561, allocations: 231.3 kB / 1.436 GB, free: 2.441 MB / 1.123 GB Notification: Performance of SimCode: time 1.292e-06/0.561, allocations: 0 / 1.436 GB, free: 2.441 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.6217, allocations: 20.47 MB / 1.456 GB, free: 14.26 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.51, allocations: 9.406 kB / 1.456 GB, free: 14.25 MB / 1.154 GB " [Timeout remaining time 287] (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: 19.996359423000285]