Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001484/0.001484, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001547/0.001547, allocations: 167.8 kB / 22.46 MB, free: 5.359 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: 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_12_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_12_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.498e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.06121/0.06125, allocations: 38.26 MB / 1.019 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.07746, allocations: 10.4 MB / 1.029 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.07916, allocations: 71.38 kB / 1.029 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.08044, allocations: 433 kB / 1.029 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.0842, allocations: 1.257 MB / 1.031 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.08664, allocations: 0.7814 MB / 1.031 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003625/0.09026, allocations: 2.112 MB / 1.033 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.09132, allocations: 0.5247 MB / 1.034 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.09461, allocations: 1.268 MB / 1.035 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009124/0.09553, allocations: 0.4984 MB / 1.036 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.09565, allocations: 64 kB / 1.036 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.09705, allocations: 0.5144 MB / 1.036 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.09733, allocations: 191.2 kB / 1.036 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.09773, allocations: 275.3 kB / 1.037 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.09982, allocations: 1.277 MB / 1.038 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.09983, allocations: 8 kB / 1.038 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.09983, allocations: 0 / 1.038 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.09984, allocations: 0 / 1.038 GB, free: 1.867 MB / 0.9825 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.001884/0.1017, allocations: 0.9945 MB / 1.039 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1018, allocations: 8.031 kB / 1.039 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.102, allocations: 88.42 kB / 1.039 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1032, allocations: 0.6279 MB / 1.04 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1033, allocations: 37.38 kB / 1.04 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.1034, allocations: 56.36 kB / 1.04 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1044, allocations: 0.6421 MB / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1045, allocations: 7.938 kB / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.1045, allocations: 20 kB / 1.04 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.1045, allocations: 12 kB / 1.04 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.1053, allocations: 383.7 kB / 1.041 GB, free: 14.89 MB / 0.9981 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.002871/0.1081, allocations: 1.962 MB / 1.043 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.1087, allocations: 237.3 kB / 1.043 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.109, allocations: 116.7 kB / 1.043 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/0.1107, allocations: 0.7379 MB / 1.044 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1108, allocations: 34.56 kB / 1.044 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.1108, allocations: 0 / 1.044 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0006851/0.1115, allocations: 307.2 kB / 1.044 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1115, allocations: 55.41 kB / 1.044 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.1121, allocations: 0.4988 MB / 1.045 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1122, allocations: 29.7 kB / 1.045 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.1125, allocations: 359.9 kB / 1.045 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.1126, allocations: 87.31 kB / 1.045 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1127, allocations: 73.64 kB / 1.045 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1129, allocations: 362.7 kB / 1.045 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1131, allocations: 91.73 kB / 1.046 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.1135, allocations: 340.5 kB / 1.046 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.114, allocations: 344 kB / 1.046 GB, free: 9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.114, allocations: 0 / 1.046 GB, free: 9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007193/0.1147, allocations: 397.3 kB / 1.047 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1148, allocations: 4 kB / 1.047 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1148, allocations: 8 kB / 1.047 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1148, allocations: 4 kB / 1.047 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.1152, allocations: 83.77 kB / 1.047 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.1152, allocations: 15.92 kB / 1.047 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1155, allocations: 39.73 kB / 1.047 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.1155, allocations: 23.98 kB / 1.047 GB, free: 8.43 MB / 0.9981 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.0002889/0.1158, allocations: 209.7 kB / 1.047 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1159, allocations: 63.7 kB / 1.047 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006727/0.1166, allocations: 322.6 kB / 1.047 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1166, allocations: 7.984 kB / 1.047 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1166, allocations: 7.875 kB / 1.047 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006185/0.1172, allocations: 488.8 kB / 1.048 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1187, allocations: 0.825 MB / 1.049 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1187, allocations: 0 / 1.049 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.1189, allocations: 43.91 kB / 1.049 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1189, allocations: 8.125 kB / 1.049 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1189, allocations: 7.984 kB / 1.049 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.119, allocations: 4 kB / 1.049 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.119, allocations: 3.938 kB / 1.049 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.1198, allocations: 0.5279 MB / 1.049 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.12, allocations: 91.53 kB / 1.049 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.1201, allocations: 8 kB / 1.049 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.1203, allocations: 11.94 kB / 1.049 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1204, allocations: 11.97 kB / 1.049 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1204, allocations: 19.98 kB / 1.049 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004452/0.1208, allocations: 338.9 kB / 1.05 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1208, allocations: 4 kB / 1.05 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008159/0.1217, allocations: 227.4 kB / 1.05 GB, free: 5.082 MB / 0.9981 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.0005691/0.1222, allocations: 294.7 kB / 1.05 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.1227, allocations: 247 kB / 1.05 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1228, allocations: 384 / 1.05 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.123, allocations: 119.8 kB / 1.05 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.1244, allocations: 292.4 kB / 1.051 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1262, allocations: 1.015 MB / 1.052 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1265, allocations: 307.8 kB / 1.052 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.1269, allocations: 112.5 kB / 1.052 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.127, allocations: 52.41 kB / 1.052 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.127, allocations: 0 / 1.052 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.02146/0.1485, allocations: 10.94 MB / 1.063 GB, free: 7.934 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.849331393837929]