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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 489.3 MB / 0.7687 GB, free: 3.953 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.91 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9599/0.9618, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.04459/1.006, allocations: 41.67 MB / 1.303 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01703/1.023, allocations: 11.16 MB / 1.314 GB, free: 2.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.026, allocations: 51.25 kB / 1.314 GB, free: 2.141 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/1.027, allocations: 428.2 kB / 1.315 GB, free: 1.871 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003406/1.03, allocations: 1.152 MB / 1.316 GB, free: 1.191 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/1.032, allocations: 0.7256 MB / 1.316 GB, free: 0.7969 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.00309/1.035, allocations: 2.081 MB / 1.318 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/1.036, allocations: 0.6752 MB / 1.319 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/1.039, allocations: 0.9695 MB / 1.32 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008709/1.04, allocations: 0.5506 MB / 1.321 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/1.04, allocations: 66.03 kB / 1.321 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/1.042, allocations: 0.6166 MB / 1.321 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/1.042, allocations: 178.8 kB / 1.321 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/1.042, allocations: 406.4 kB / 1.322 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/1.044, allocations: 1.255 MB / 1.323 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.044, allocations: 0 / 1.323 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/1.044, allocations: 4 kB / 1.323 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.044, allocations: 0 / 1.323 GB, free: 13.71 MB / 1.045 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.00185/1.046, allocations: 1.084 MB / 1.324 GB, free: 12.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.046, allocations: 9.969 kB / 1.324 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/1.047, allocations: 88.53 kB / 1.324 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.048, allocations: 0.7018 MB / 1.325 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/1.048, allocations: 42.5 kB / 1.325 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/1.048, allocations: 53.19 kB / 1.325 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/1.049, allocations: 0.5595 MB / 1.326 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/1.049, allocations: 5.734 kB / 1.326 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/1.049, allocations: 21.47 kB / 1.326 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/1.049, allocations: 16.91 kB / 1.326 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/1.05, allocations: 386 kB / 1.326 GB, free: 11.92 MB / 1.045 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.003395/1.053, allocations: 2.66 MB / 1.329 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/1.054, allocations: 238.2 kB / 1.329 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.054, allocations: 130.2 kB / 1.329 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/1.056, allocations: 1.816 MB / 1.331 GB, free: 8.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.056, allocations: 37.95 kB / 1.331 GB, free: 7.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/1.056, allocations: 0 / 1.331 GB, free: 7.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0006782/1.057, allocations: 318.2 kB / 1.331 GB, free: 7.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.057, allocations: 66.36 kB / 1.331 GB, free: 7.762 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/1.058, allocations: 0.6388 MB / 1.332 GB, free: 7.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/1.058, allocations: 30.73 kB / 1.332 GB, free: 7.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/1.058, allocations: 355.8 kB / 1.332 GB, free: 7.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/1.058, allocations: 76.66 kB / 1.332 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.059, allocations: 84.31 kB / 1.332 GB, free: 7.051 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.059, allocations: 368.2 kB / 1.333 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.059, allocations: 86.7 kB / 1.333 GB, free: 6.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/1.059, allocations: 244.2 kB / 1.333 GB, free: 6.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/1.06, allocations: 345.2 kB / 1.333 GB, free: 6.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.06, allocations: 2.219 kB / 1.333 GB, free: 6.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006928/1.061, allocations: 413.1 kB / 1.334 GB, free: 6.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.061, allocations: 7.188 kB / 1.334 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.061, allocations: 6.5 kB / 1.334 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.061, allocations: 6.219 kB / 1.334 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/1.061, allocations: 75.69 kB / 1.334 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.061, allocations: 15.2 kB / 1.334 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/1.061, allocations: 60.5 kB / 1.334 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/1.061, allocations: 17.5 kB / 1.334 GB, free: 5.949 MB / 1.045 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.0002625/1.062, allocations: 205 kB / 1.334 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.062, allocations: 72.69 kB / 1.334 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/1.062, allocations: 334.3 kB / 1.334 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.062, allocations: 7.266 kB / 1.334 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.062, allocations: 1.125 kB / 1.334 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005953/1.063, allocations: 492.8 kB / 1.335 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.065, allocations: 0.954 MB / 1.336 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.065, allocations: 5.031 kB / 1.336 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.065, allocations: 46.52 kB / 1.336 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.065, allocations: 7.188 kB / 1.336 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.065, allocations: 5.297 kB / 1.336 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.065, allocations: 2.281 kB / 1.336 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.065, allocations: 1.797 kB / 1.336 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/1.066, allocations: 0.5461 MB / 1.336 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/1.066, allocations: 177 kB / 1.337 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/1.066, allocations: 8.141 kB / 1.337 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/1.066, allocations: 13.58 kB / 1.337 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/1.066, allocations: 21.16 kB / 1.337 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.066, allocations: 11.86 kB / 1.337 GB, free: 4.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005891/1.067, allocations: 466.5 kB / 1.337 GB, free: 3.867 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.994e-06/1.067, allocations: 4.062 kB / 1.337 GB, free: 3.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007896/1.068, allocations: 222.6 kB / 1.337 GB, free: 3.809 MB / 1.045 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.0006429/1.068, allocations: 301.9 kB / 1.338 GB, free: 3.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005036/1.069, allocations: 265.4 kB / 1.338 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.069, allocations: 1.344 kB / 1.338 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/1.069, allocations: 119 kB / 1.338 GB, free: 3.516 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.071, allocations: 437.3 kB / 1.338 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.073, allocations: 1.115 MB / 1.339 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/1.074, allocations: 0.9106 MB / 1.34 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/1.074, allocations: 65.19 kB / 1.34 GB, free: 1.977 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/1.074, allocations: 0 / 1.34 GB, free: 1.977 MB / 1.045 GB Notification: Performance of Templates: time 0.02078/1.095, allocations: 11.81 MB / 1.352 GB, free: 14.31 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.207423425046727]