Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001346/0.001346, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001314/0.001314, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.89 kB / 1.059 GB, free: 488 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4206, allocations: 160.7 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.8641/1.285, allocations: 50.12 MB / 1.265 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0256/1.31, allocations: 13.94 MB / 1.279 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004602/1.315, allocations: 68.38 kB / 1.279 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003605/1.319, allocations: 0.8366 MB / 1.28 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009745/1.328, allocations: 2.358 MB / 1.282 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/1.333, allocations: 1.334 MB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02789/1.361, allocations: 19.62 MB / 1.302 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01538/1.376, allocations: 6.647 MB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.021/1.397, allocations: 6.613 MB / 1.315 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01737/1.415, allocations: 6.037 MB / 1.321 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.005213/1.42, allocations: 0.8437 MB / 1.322 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/1.433, allocations: 1.624 MB / 1.324 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.01119/1.444, allocations: 2.204 MB / 1.326 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01946/1.463, allocations: 4.286 MB / 1.33 GB, free: 7.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03189/1.495, allocations: 12.1 MB / 1.342 GB, free: 2.055 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.495, allocations: 1.594 kB / 1.342 GB, free: 2.055 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/1.495, allocations: 0 / 1.342 GB, free: 2.055 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006812/1.496, allocations: 0 / 1.342 GB, free: 2.055 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0361/1.532, allocations: 7.926 MB / 1.349 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.532, allocations: 8.469 kB / 1.349 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/1.539, allocations: 0.8222 MB / 1.35 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01826/1.557, allocations: 6.336 MB / 1.356 GB, free: 8.332 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/1.558, allocations: 416.4 kB / 1.357 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003417/1.561, allocations: 0.5441 MB / 1.357 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/1.592, allocations: 8.074 MB / 1.365 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/1.592, allocations: 11.94 kB / 1.365 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/1.595, allocations: 243 kB / 1.366 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/1.595, allocations: 163.9 kB / 1.366 GB, free: 2.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/1.615, allocations: 6.528 MB / 1.372 GB, free: 11.93 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.06826/1.683, allocations: 31.27 MB / 1.403 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007563/1.691, allocations: 3.435 MB / 1.406 GB, free: 7.668 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005303/1.696, allocations: 2.578 MB / 1.408 GB, free: 5.086 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/1.697, allocations: 0.8288 MB / 1.409 GB, free: 4.102 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/1.697, allocations: 76.45 kB / 1.409 GB, free: 4.016 MB / 1.076 GB Notification: Performance of pre-optimization done (n=267): time 5.57e-06/1.697, allocations: 0 / 1.409 GB, free: 4.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=267): time 0.01476/1.712, allocations: 5.781 MB / 1.415 GB, free: 14.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/1.712, allocations: 77.52 kB / 1.415 GB, free: 14.05 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.723, allocations: 5.235 MB / 1.42 GB, free: 8.816 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.724, allocations: 77.7 kB / 1.42 GB, free: 8.734 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.728, allocations: 2.94 MB / 1.423 GB, free: 5.785 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002374/1.73, allocations: 0.986 MB / 1.424 GB, free: 4.812 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/1.732, allocations: 0.7195 MB / 1.425 GB, free: 4.086 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.732, allocations: 301.1 kB / 1.425 GB, free: 3.789 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.735, allocations: 1.674 MB / 1.427 GB, free: 2.113 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/1.739, allocations: 2.928 MB / 1.43 GB, free: 14.64 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/1.747, allocations: 4.966 MB / 1.434 GB, free: 9.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.511e-05/1.747, allocations: 12 kB / 1.434 GB, free: 9.066 MB / 1.107 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01226/1.76, allocations: 5.455 MB / 1.44 GB, free: 3.559 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/1.76, allocations: 25.34 kB / 1.44 GB, free: 3.535 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-05/1.76, allocations: 40.88 kB / 1.44 GB, free: 3.496 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.761, allocations: 420.6 kB / 1.44 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/1.764, allocations: 0.858 MB / 1.441 GB, free: 2.223 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/1.772, allocations: 5.702 MB / 1.447 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006425/1.778, allocations: 0.5314 MB / 1.447 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.779, allocations: 184 kB / 1.447 GB, free: 11.54 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007527/1.787, allocations: 2.284 MB / 1.45 GB, free: 9.242 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003164/1.79, allocations: 0.5008 MB / 1.45 GB, free: 8.738 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/1.799, allocations: 4.177 MB / 1.454 GB, free: 4.508 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.417e-05/1.799, allocations: 28 kB / 1.454 GB, free: 4.48 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.799, allocations: 4 kB / 1.454 GB, free: 4.477 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006158/1.805, allocations: 3.618 MB / 1.458 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.833, allocations: 10.25 MB / 1.468 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.833, allocations: 7.984 kB / 1.468 GB, free: 6.371 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.835, allocations: 0.4993 MB / 1.468 GB, free: 5.871 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009983/1.836, allocations: 373.5 kB / 1.469 GB, free: 5.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.836, allocations: 75.97 kB / 1.469 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007008/1.843, allocations: 5.653 MB / 1.474 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.843, allocations: 7.938 kB / 1.474 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.856, allocations: 6.267 MB / 1.48 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004308/1.86, allocations: 1.114 MB / 1.481 GB, free: 7.926 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/1.863, allocations: 63.98 kB / 1.481 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004518/1.867, allocations: 175.8 kB / 1.482 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/1.868, allocations: 181.6 kB / 1.482 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004752/1.868, allocations: 127.9 kB / 1.482 GB, free: 7.387 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.009157/1.877, allocations: 3.843 MB / 1.486 GB, free: 3.559 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.1e-07/1.877, allocations: 0 / 1.486 GB, free: 3.559 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.01031/1.888, allocations: 1.817 MB / 1.487 GB, free: 1.738 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002416/1.89, allocations: 484.6 kB / 1.488 GB, free: 1.281 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.9, allocations: 4.134 MB / 1.492 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.356e-05/1.9, allocations: 4 kB / 1.492 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/1.905, allocations: 1.931 MB / 1.494 GB, free: 11.15 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02164/1.926, allocations: 3.45 MB / 1.497 GB, free: 7.797 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.958, allocations: 12.75 MB / 1.51 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007509/1.965, allocations: 4.299 MB / 1.514 GB, free: 6.629 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.008491/1.974, allocations: 1.853 MB / 1.516 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/1.976, allocations: 419.2 kB / 1.516 GB, free: 4.383 MB / 1.186 GB Notification: Performance of SimCode: time 1.654e-06/1.976, allocations: 0 / 1.516 GB, free: 4.383 MB / 1.186 GB Notification: Performance of Templates: time 0.2072/2.183, allocations: 115.2 MB / 1.629 GB, free: 2.086 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.27545990422368]