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.001071/0.001071, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001058/0.001058, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9005/0.9005, 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.703/1.703, 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.774e-06/1.774e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.134e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 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.02577/0.02579, allocations: 38.24 MB / 1.037 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4554/0.4812, allocations: 10.36 MB / 1.047 GB, free: 43.87 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4826, allocations: 69.16 kB / 1.047 GB, free: 43.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.4836, allocations: 429.7 kB / 1.048 GB, free: 43.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.4857, allocations: 1.249 MB / 1.049 GB, free: 43.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.4869, allocations: 0.7861 MB / 1.05 GB, free: 43.76 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.4884, allocations: 2.069 MB / 1.052 GB, free: 43.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.4889, allocations: 0.4956 MB / 1.052 GB, free: 43.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.4905, allocations: 1.25 MB / 1.053 GB, free: 43.17 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.4909, allocations: 0.501 MB / 1.054 GB, free: 43.1 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.491, allocations: 62.44 kB / 1.054 GB, free: 43.1 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00083/0.4918, allocations: 0.523 MB / 1.054 GB, free: 43.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4919, allocations: 192.8 kB / 1.055 GB, free: 43.01 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.4921, allocations: 270.8 kB / 1.055 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4931, allocations: 1.27 MB / 1.056 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4932, allocations: 0 / 1.056 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4932, allocations: 0 / 1.056 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4932, allocations: 2.625 kB / 1.056 GB, free: 42.86 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.001047/0.4942, allocations: 0.999 MB / 1.057 GB, free: 42.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4943, allocations: 9.25 kB / 1.057 GB, free: 42.31 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.4943, allocations: 89.28 kB / 1.057 GB, free: 42.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.4945, allocations: 87.17 kB / 1.057 GB, free: 42.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.4952, allocations: 0.6296 MB / 1.058 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4952, allocations: 40.34 kB / 1.058 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.4953, allocations: 52.47 kB / 1.058 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.4958, allocations: 0.637 MB / 1.059 GB, free: 41.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4958, allocations: 6.938 kB / 1.059 GB, free: 41.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4959, allocations: 21.19 kB / 1.059 GB, free: 41.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.4959, allocations: 14.22 kB / 1.059 GB, free: 41.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.4963, allocations: 377.2 kB / 1.059 GB, free: 41.8 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.00155/0.4978, allocations: 2.075 MB / 1.061 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.4982, allocations: 224.8 kB / 1.061 GB, free: 40.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4983, allocations: 114.1 kB / 1.061 GB, free: 40.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008604/0.4992, allocations: 0.7505 MB / 1.062 GB, free: 40.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.4992, allocations: 36.38 kB / 1.062 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.4992, allocations: 4 kB / 1.062 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0004112/0.4996, allocations: 325.5 kB / 1.062 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.4996, allocations: 54.22 kB / 1.062 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.5001, allocations: 0.6388 MB / 1.063 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.5001, allocations: 32.42 kB / 1.063 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5003, allocations: 349.4 kB / 1.063 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.5003, allocations: 76.95 kB / 1.063 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.5004, allocations: 75.22 kB / 1.064 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.5005, allocations: 377.4 kB / 1.064 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5006, allocations: 91.33 kB / 1.064 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.5007, allocations: 339.7 kB / 1.064 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.501, allocations: 349.7 kB / 1.065 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.501, allocations: 0 / 1.065 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003791/0.5014, allocations: 406.4 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5014, allocations: 8.25 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5014, allocations: 5.062 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5014, allocations: 10.22 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5016, allocations: 76.95 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5016, allocations: 16.34 kB / 1.065 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.5018, allocations: 57.05 kB / 1.065 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5018, allocations: 20.72 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.0001564/0.5019, allocations: 209 kB / 1.065 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.502, allocations: 72.75 kB / 1.065 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.5024, allocations: 327.6 kB / 1.066 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.5024, allocations: 6.875 kB / 1.066 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5024, allocations: 3.281 kB / 1.066 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002366/0.5026, allocations: 495.3 kB / 1.066 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.5034, allocations: 0.8796 MB / 1.067 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5034, allocations: 0 / 1.067 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5035, allocations: 46.16 kB / 1.067 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5035, allocations: 2.594 kB / 1.067 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5035, allocations: 2.562 kB / 1.067 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5035, allocations: 6.531 kB / 1.067 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5035, allocations: 8.516 kB / 1.067 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.504, allocations: 0.5483 MB / 1.068 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5041, allocations: 97.92 kB / 1.068 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.5041, allocations: 13.91 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5043, allocations: 9.531 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.5043, allocations: 16.77 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.5043, allocations: 12.12 kB / 1.068 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002882/0.5046, allocations: 465.2 kB / 1.068 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5046, allocations: 0 / 1.068 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004782/0.5051, allocations: 224 kB / 1.069 GB, free: 37.44 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.0007914/0.5059, allocations: 1.273 MB / 1.07 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.5062, allocations: 246.7 kB / 1.07 GB, free: 36.49 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5062, allocations: 0 / 1.07 GB, free: 36.49 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.5063, allocations: 114.7 kB / 1.07 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5073, allocations: 429 kB / 1.071 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5109, allocations: 4.901 MB / 1.075 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.511, allocations: 312.4 kB / 1.076 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.5113, allocations: 132.3 kB / 1.076 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.5115, allocations: 232.8 kB / 1.076 GB, free: 33.24 MB / 0.9948 GB Notification: Performance of SimCode: time 8.11e-07/0.5115, allocations: 0 / 1.076 GB, free: 33.24 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.5567, allocations: 21.9 MB / 1.097 GB, free: 30.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.245, allocations: 5.266 kB / 1.097 GB, free: 30.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.281509982421994]