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.0008126/0.0008126, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008019/0.0008019, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.418 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.782/1.782, allocations: 389 MB / 0.6338 GB, free: 12.73 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: 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 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.906e-05, allocations: 5.234 kB / 1.001 GB, free: 13.05 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.02522/0.02525, allocations: 38.25 MB / 1.038 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5312/0.5565, allocations: 10.34 MB / 1.048 GB, free: 44.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.5579, allocations: 68.75 kB / 1.048 GB, free: 44.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009313/0.5589, allocations: 429.5 kB / 1.049 GB, free: 44.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.5611, allocations: 1.254 MB / 1.05 GB, free: 44.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.5624, allocations: 0.7756 MB / 1.051 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.5639, allocations: 2.074 MB / 1.053 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.5645, allocations: 0.49 MB / 1.053 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.5661, allocations: 1.257 MB / 1.055 GB, free: 43.47 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.5665, allocations: 0.4933 MB / 1.055 GB, free: 43.41 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.5665, allocations: 63.06 kB / 1.055 GB, free: 43.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.5674, allocations: 0.5281 MB / 1.056 GB, free: 43.35 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.5676, allocations: 192 kB / 1.056 GB, free: 43.31 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5678, allocations: 268 kB / 1.056 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5689, allocations: 1.269 MB / 1.057 GB, free: 43.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5689, allocations: 0 / 1.057 GB, free: 43.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5689, allocations: 0 / 1.057 GB, free: 43.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.5689, allocations: 0 / 1.057 GB, free: 43.16 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.001036/0.57, allocations: 0.9945 MB / 1.058 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.57, allocations: 9.844 kB / 1.058 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5701, allocations: 101.6 kB / 1.058 GB, free: 42.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.5708, allocations: 0.6218 MB / 1.059 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.5709, allocations: 42.86 kB / 1.059 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.5709, allocations: 50.5 kB / 1.059 GB, free: 42.35 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.5715, allocations: 0.6368 MB / 1.06 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5715, allocations: 3.844 kB / 1.06 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.5715, allocations: 23.91 kB / 1.06 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5715, allocations: 17.5 kB / 1.06 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.5719, allocations: 374.7 kB / 1.06 GB, free: 42.15 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.001475/0.5734, allocations: 1.96 MB / 1.062 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.5738, allocations: 231.2 kB / 1.062 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.5739, allocations: 112.7 kB / 1.062 GB, free: 41.16 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008358/0.5747, allocations: 0.7334 MB / 1.063 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.5748, allocations: 42.28 kB / 1.063 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.5748, allocations: 2.531 kB / 1.063 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0003828/0.5751, allocations: 304.8 kB / 1.063 GB, free: 40.79 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.5752, allocations: 54.38 kB / 1.063 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.5755, allocations: 0.4886 MB / 1.064 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5755, allocations: 30.36 kB / 1.064 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.5757, allocations: 367.9 kB / 1.064 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.5757, allocations: 76.77 kB / 1.064 GB, free: 40.33 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.5758, allocations: 82.05 kB / 1.064 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.5758, allocations: 362.4 kB / 1.065 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.5759, allocations: 87.45 kB / 1.065 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.5761, allocations: 343 kB / 1.065 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.5763, allocations: 347.5 kB / 1.065 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5763, allocations: 0 / 1.065 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003567/0.5767, allocations: 392.2 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5767, allocations: 8.25 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5767, allocations: 2.844 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5767, allocations: 8.562 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.5768, allocations: 75.38 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5768, allocations: 12.09 kB / 1.066 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.577, allocations: 37.11 kB / 1.066 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.577, allocations: 19.41 kB / 1.066 GB, free: 39.43 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.0001497/0.5772, allocations: 212.9 kB / 1.066 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.5772, allocations: 56.31 kB / 1.066 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.5776, allocations: 326.4 kB / 1.067 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.5776, allocations: 4.844 kB / 1.067 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5776, allocations: 0 / 1.067 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002313/0.5778, allocations: 498.7 kB / 1.067 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.5785, allocations: 0.819 MB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5785, allocations: 4.125 kB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.5786, allocations: 43.72 kB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5786, allocations: 2.844 kB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5786, allocations: 10.38 kB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5786, allocations: 3.156 kB / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5786, allocations: 0 / 1.068 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.579, allocations: 0.5387 MB / 1.068 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.5791, allocations: 83.77 kB / 1.069 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.5792, allocations: 6.781 kB / 1.069 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5793, allocations: 16.97 kB / 1.069 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.5793, allocations: 19.08 kB / 1.069 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.5793, allocations: 18.42 kB / 1.069 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002089/0.5795, allocations: 334.3 kB / 1.069 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5795, allocations: 3.938 kB / 1.069 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005081/0.58, allocations: 232 kB / 1.069 GB, free: 38.11 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.0003506/0.5804, allocations: 292.1 kB / 1.069 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.5807, allocations: 251.6 kB / 1.07 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5807, allocations: 0 / 1.07 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.5808, allocations: 113.7 kB / 1.07 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.5815, allocations: 270.8 kB / 1.07 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5825, allocations: 1.037 MB / 1.071 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.5827, allocations: 301.7 kB / 1.071 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.5827, allocations: 50.33 kB / 1.071 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.5827, allocations: 0 / 1.071 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of Templates: time 0.009832/0.5926, allocations: 10.29 MB / 1.081 GB, free: 35.78 MB / 0.9948 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/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: 8.092011930420995]