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.0007953/0.0007953, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007578/0.0007578, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.343e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 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.0251/0.02511, allocations: 38.24 MB / 1.037 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4704/0.4955, allocations: 10.36 MB / 1.047 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.4968, allocations: 73.25 kB / 1.047 GB, free: 43.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009002/0.4977, allocations: 429.5 kB / 1.048 GB, free: 43.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4998, allocations: 1.253 MB / 1.049 GB, free: 43.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.501, allocations: 0.7804 MB / 1.05 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.5027, allocations: 2.077 MB / 1.052 GB, free: 43.37 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.5032, allocations: 0.4897 MB / 1.052 GB, free: 43.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.5048, allocations: 1.252 MB / 1.053 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.5052, allocations: 0.4995 MB / 1.054 GB, free: 43.11 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.5052, allocations: 61.59 kB / 1.054 GB, free: 43.11 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.506, allocations: 0.5263 MB / 1.054 GB, free: 43.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5062, allocations: 191.2 kB / 1.055 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.5063, allocations: 270.2 kB / 1.055 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.5074, allocations: 1.269 MB / 1.056 GB, free: 42.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5074, allocations: 0 / 1.056 GB, free: 42.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5074, allocations: 0 / 1.056 GB, free: 42.87 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.5074, allocations: 0 / 1.056 GB, free: 42.87 MB / 0.9948 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.001037/0.5085, allocations: 0.9998 MB / 1.057 GB, free: 42.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5085, allocations: 16.25 kB / 1.057 GB, free: 42.31 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/0.5086, allocations: 88.72 kB / 1.057 GB, free: 42.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.5087, allocations: 90.98 kB / 1.057 GB, free: 42.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.5094, allocations: 0.6215 MB / 1.058 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.5094, allocations: 42.38 kB / 1.058 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.5095, allocations: 50.38 kB / 1.058 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.51, allocations: 0.6402 MB / 1.059 GB, free: 41.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.51, allocations: 3.938 kB / 1.059 GB, free: 41.81 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.5101, allocations: 22.22 kB / 1.059 GB, free: 41.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5101, allocations: 14.22 kB / 1.059 GB, free: 41.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.5105, allocations: 377.8 kB / 1.059 GB, free: 41.81 MB / 0.9948 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.001517/0.512, allocations: 2.073 MB / 1.061 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.5124, allocations: 225.2 kB / 1.061 GB, free: 40.78 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5125, allocations: 116.5 kB / 1.061 GB, free: 40.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/0.5133, allocations: 0.7551 MB / 1.062 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.5133, allocations: 30.56 kB / 1.062 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.375e-06/0.5133, allocations: 2.969 kB / 1.062 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.000406/0.5137, allocations: 319.9 kB / 1.062 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.5138, allocations: 62.09 kB / 1.062 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.5142, allocations: 0.6369 MB / 1.063 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.5142, allocations: 35.39 kB / 1.063 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5144, allocations: 354.8 kB / 1.063 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.5144, allocations: 72.8 kB / 1.063 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.5145, allocations: 80.97 kB / 1.064 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.5145, allocations: 372.2 kB / 1.064 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.5146, allocations: 87.97 kB / 1.064 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.5148, allocations: 342 kB / 1.064 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.515, allocations: 344.5 kB / 1.065 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.515, allocations: 0 / 1.065 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003585/0.5154, allocations: 409.7 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5154, allocations: 5.906 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5154, allocations: 5.844 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5154, allocations: 9.969 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5156, allocations: 74.38 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5156, allocations: 12.59 kB / 1.065 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.5158, allocations: 63.33 kB / 1.065 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.5158, allocations: 18.56 kB / 1.065 GB, free: 39.02 MB / 0.9948 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.0001487/0.5159, allocations: 210.5 kB / 1.065 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.516, allocations: 70.08 kB / 1.065 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.5163, allocations: 328.8 kB / 1.066 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5164, allocations: 6.844 kB / 1.066 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5164, allocations: 0 / 1.066 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002407/0.5166, allocations: 491.9 kB / 1.066 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.5173, allocations: 0.8824 MB / 1.067 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5173, allocations: 2.656 kB / 1.067 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.5175, allocations: 48.34 kB / 1.067 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5175, allocations: 0 / 1.067 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5175, allocations: 9 kB / 1.067 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5175, allocations: 3.938 kB / 1.067 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5175, allocations: 2.875 kB / 1.067 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.5179, allocations: 0.5471 MB / 1.068 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.518, allocations: 102.4 kB / 1.068 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.518, allocations: 14.81 kB / 1.068 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.5182, allocations: 6.781 kB / 1.068 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.5182, allocations: 26.02 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5182, allocations: 16.2 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002909/0.5185, allocations: 456.4 kB / 1.068 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5185, allocations: 3.938 kB / 1.068 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000483/0.519, allocations: 218.6 kB / 1.069 GB, free: 37.45 MB / 0.9948 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.0008252/0.5198, allocations: 1.276 MB / 1.07 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.5201, allocations: 245 kB / 1.07 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5201, allocations: 0 / 1.07 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5202, allocations: 118.4 kB / 1.07 GB, free: 36.47 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5212, allocations: 431.1 kB / 1.071 GB, free: 36.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.5251, allocations: 4.903 MB / 1.075 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.5253, allocations: 308.4 kB / 1.076 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.5256, allocations: 128.6 kB / 1.076 GB, free: 33.42 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.5258, allocations: 234.2 kB / 1.076 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of SimCode: time 1.683e-06/0.5258, allocations: 0 / 1.076 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.5676, allocations: 21.89 MB / 1.097 GB, free: 30.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/7.212, allocations: 16.62 kB / 1.097 GB, free: 30.31 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.339848539792001]